Information about CPU limits in container. More...
#include <optional>
 Include dependency graph for cpu_limit.hpp:Go to the source code of this file.
Namespaces | |
| namespace | hostinfo | 
| Information about current host.  | |
Functions | |
| std::optional< double > | hostinfo::CpuLimit () | 
| Returns the CPU limit.   | |
| bool | hostinfo::IsInRtc () | 
| Returns true if the current process is run in container (CPU_LIMIT environment variable is set).  | |
Information about CPU limits in container.
Definition in file cpu_limit.hpp.