Searched refs:CgroupMap (Results 1 – 6 of 6) sorted by relevance
141 CgroupMap::CgroupMap() { in CgroupMap() function in CgroupMap147 CgroupMap& CgroupMap::GetInstance() { in GetInstance()150 static auto* instance = new CgroupMap; in GetInstance()154 bool CgroupMap::LoadRcFile() { in LoadRcFile()161 void CgroupMap::Print() const { in Print()188 CgroupController CgroupMap::FindController(const std::string& name) const { in FindController()
58 class CgroupMap {63 static CgroupMap& GetInstance();68 CgroupMap();
139 static bool enabled = (CgroupMap::GetInstance().FindController("cpuset").IsUsable()); in cpusets_enabled()144 return (CgroupMap::GetInstance().FindController("schedtune").IsUsable()); in schedtune_enabled()148 return (CgroupMap::GetInstance().FindController("cpu").IsUsable()); in cpuctl_enabled()158 auto controller = CgroupMap::GetInstance().FindController(subsys); in getCGroupSubsys()
393 if (!Load(CgroupMap::GetInstance(), TASK_PROFILE_DB_FILE)) { in TaskProfiles()403 if (!Load(CgroupMap::GetInstance(), api_profiles_path)) { in TaskProfiles()412 !Load(CgroupMap::GetInstance(), TASK_PROFILE_DB_VENDOR_FILE)) { in TaskProfiles()418 bool TaskProfiles::Load(const CgroupMap& cg_map, const std::string& file_name) { in Load()
59 auto controller = CgroupMap::GetInstance().FindController(cgroup_name); in CgroupGetControllerPath()109 static bool memcg_supported = CgroupMap::GetInstance().FindController("memory").IsUsable(); in isMemoryCgroupSupported()
206 bool Load(const CgroupMap& cg_map, const std::string& file_name);