uint64_t my_cgroup_mem_limit()
Read the memory limit set by the container.
Definition: my_system_api_cgroup.cc:182
bool does_cgroup_limit_resources()
Determines if cgroup restricts resources.
Definition: my_system_api_cgroup.cc:162
uint32_t my_system_num_vcpus()
Get the number of VCPU.
Definition: my_system_api_common.cc:35
uint32_t num_vcpus_using_config()
Get the number of VCPUS based on system configuration.
Definition: my_system_api_apple.cc:38
uint32_t my_cgroup_vcpu_limit()
Read the CPU limit set by the container.
Definition: my_system_api_cgroup.cc:193
uint32_t num_vcpus_using_affinity()
Find number of VCPUs as seen by the current process based on the affinity between each process and VC...
Definition: my_system_api_apple.cc:36
bool is_running_in_cgroup()
Determines if the current process is running in a container.
Definition: my_system_api_cgroup.cc:157