Fork Vasum on GitHub Official Vasum Wiki on Tizen.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vasum::CGroupCpuConfig Struct Reference

#include <cgroups-config.hpp>

Public Attributes

uint64_t shares
 specifies a relative share of CPU time available to the tasks in a cgroup More...
 
uint64_t quota
 specifies the total amount of time in microseconds for which all tasks in a cgroup can run during one period (as defined by period below) More...
 
uint64_t period
 specifies a period of time in microseconds for how regularly a cgroup's access to CPU resources should be reallocated (CFS scheduler only) More...
 
uint64_t realtimeRuntime
 specifies a period of time in microseconds for the longest continuous period in which the tasks in a cgroup have access to CPU resources More...
 
uint64_t realtimePeriod
 same as period but applies to realtime scheduler only More...
 
std::string cpus
 list of CPUs the container will run in More...
 
std::string mems
 list of Memory Nodes the container will run in More...
 

Member Data Documentation

std::string vasum::CGroupCpuConfig::cpus

list of CPUs the container will run in

std::string vasum::CGroupCpuConfig::mems

list of Memory Nodes the container will run in

uint64_t vasum::CGroupCpuConfig::period

specifies a period of time in microseconds for how regularly a cgroup's access to CPU resources should be reallocated (CFS scheduler only)

uint64_t vasum::CGroupCpuConfig::quota

specifies the total amount of time in microseconds for which all tasks in a cgroup can run during one period (as defined by period below)

uint64_t vasum::CGroupCpuConfig::realtimePeriod

same as period but applies to realtime scheduler only

uint64_t vasum::CGroupCpuConfig::realtimeRuntime

specifies a period of time in microseconds for the longest continuous period in which the tasks in a cgroup have access to CPU resources

uint64_t vasum::CGroupCpuConfig::shares

specifies a relative share of CPU time available to the tasks in a cgroup


The documentation for this struct was generated from the following file: