MCPcopy Create free account
hub / github.com/apache/mesos / write

Function write

src/linux/cgroups.cpp:865–873  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

863
864
865Try<Nothing> write(
866 const string& hierarchy,
867 const string& cgroup,
868 const string& control,
869 const string& value)
870{
871 string path = path::join(hierarchy, cgroup, control);
872 return os::write(path, value);
873}
874
875
876bool exists(

Callers 15

cloneCpusetCpusMemsFunction · 0.70
assignFunction · 0.70
registerNotifierFunction · 0.70
stateFunction · 0.70
sharesFunction · 0.70
cfs_period_usFunction · 0.70
cfs_quota_usFunction · 0.70
limit_in_bytesFunction · 0.70
memsw_limit_in_bytesFunction · 0.70
soft_limit_in_bytesFunction · 0.70
enableFunction · 0.70
disableFunction · 0.70

Calls 1

joinFunction · 0.50

Tested by

no test coverage detected