Searched refs:CgroupMap (Results 1 – 6 of 6) sorted by relevance
130 CgroupMap::CgroupMap() { in CgroupMap() function in CgroupMap136 CgroupMap& CgroupMap::GetInstance() { in GetInstance()139 static auto* instance = new CgroupMap; in GetInstance()143 bool CgroupMap::LoadRcFile() { in LoadRcFile()150 void CgroupMap::Print() const { in Print()170 CgroupController CgroupMap::FindController(const std::string& name) const { in FindController()
58 class CgroupMap {63 static CgroupMap& GetInstance();68 CgroupMap();
154 static bool enabled = (CgroupMap::GetInstance().FindController("cpuset").IsUsable()); in cpusets_enabled()159 static bool enabled = (CgroupMap::GetInstance().FindController("schedtune").IsUsable()); in schedboost_enabled()164 auto controller = CgroupMap::GetInstance().FindController(subsys); in getCGroupSubsys()
304 if (!Load(CgroupMap::GetInstance(), TASK_PROFILE_DB_FILE)) { in TaskProfiles()310 !Load(CgroupMap::GetInstance(), TASK_PROFILE_DB_VENDOR_FILE)) { in TaskProfiles()316 bool TaskProfiles::Load(const CgroupMap& cg_map, const std::string& file_name) { in Load()
168 bool Load(const CgroupMap& cg_map, const std::string& file_name);
59 auto controller = CgroupMap::GetInstance().FindController(cgroup_name); in CgroupGetControllerPath()109 static bool memcg_supported = CgroupMap::GetInstance().FindController("memory").IsUsable(); in isMemoryCgroupSupported()