Searched refs:TaskProfile (Results 1 – 2 of 2) sorted by relevance
174 class TaskProfile {176 TaskProfile() : res_cached_(false) {} in TaskProfile() function179 void MoveTo(TaskProfile* profile);194 ApplyProfileAction(const std::vector<std::shared_ptr<TaskProfile>>& profiles) in ApplyProfileAction()203 std::vector<std::shared_ptr<TaskProfile>> profiles_;211 TaskProfile* GetProfile(const std::string& name) const;218 std::map<std::string, std::shared_ptr<TaskProfile>> profiles_;
384 void TaskProfile::MoveTo(TaskProfile* profile) { in MoveTo()389 bool TaskProfile::ExecuteForProcess(uid_t uid, pid_t pid) const { in ExecuteForProcess()398 bool TaskProfile::ExecuteForTask(int tid) const { in ExecuteForTask()410 void TaskProfile::EnableResourceCaching() { in EnableResourceCaching()422 void TaskProfile::DropResourceCaching() { in DropResourceCaching()516 auto profile = std::make_shared<TaskProfile>(); in Load()607 std::vector<std::shared_ptr<TaskProfile>> profiles; in Load()626 auto profile = std::make_shared<TaskProfile>(); in Load()635 TaskProfile* TaskProfiles::GetProfile(const std::string& name) const { in GetProfile()656 TaskProfile* profile = GetProfile(name); in SetProcessProfiles()[all …]