Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/mesos
/ enabled
Function
enabled
src/linux/cgroups.cpp:440–443 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
438
439
440
bool enabled()
441
{
442
return os::exists(
"/proc/cgroups"
);
443
}
444
445
446
Try<set<string>> hierarchies()
Callers
15
foreach
Function · 0.70
prepare
Function · 0.70
enable
Function · 0.70
disable
Function · 0.70
CreateSlaveFlags
Method · 0.50
SetUpTestCase
Method · 0.50
TearDownTestCase
Method · 0.50
SetUp
Method · 0.50
TearDown
Method · 0.50
disable
Method · 0.50
NetClsCgroupsFilter
Method · 0.50
TEST_F
Function · 0.50
Calls
10
subsystems
Function · 0.85
pairs
Function · 0.85
exists
Function · 0.70
read
Function · 0.70
error
Method · 0.65
Error
Function · 0.50
isError
Method · 0.45
get
Method · 0.45
count
Method · 0.45
size
Method · 0.45
Tested by
8
CreateSlaveFlags
Method · 0.40
SetUpTestCase
Method · 0.40
TearDownTestCase
Method · 0.40
SetUp
Method · 0.40
TearDown
Method · 0.40
disable
Method · 0.40
NetClsCgroupsFilter
Method · 0.40
TEST_F
Function · 0.40