Searched refs:TaskProfile (Results 1 – 2 of 2) sorted by relevance
157 class TaskProfile {159 TaskProfile() : res_cached_(false) {} in TaskProfile() function162 void MoveTo(TaskProfile* profile);177 ApplyProfileAction(const std::vector<std::shared_ptr<TaskProfile>>& profiles) in ApplyProfileAction()186 std::vector<std::shared_ptr<TaskProfile>> profiles_;194 TaskProfile* GetProfile(const std::string& name) const;201 std::map<std::string, std::shared_ptr<TaskProfile>> profiles_;
328 void TaskProfile::MoveTo(TaskProfile* profile) { in MoveTo()333 bool TaskProfile::ExecuteForProcess(uid_t uid, pid_t pid) const { in ExecuteForProcess()342 bool TaskProfile::ExecuteForTask(int tid) const { in ExecuteForTask()354 void TaskProfile::EnableResourceCaching() { in EnableResourceCaching()366 void TaskProfile::DropResourceCaching() { in DropResourceCaching()460 auto profile = std::make_shared<TaskProfile>(); in Load()551 std::vector<std::shared_ptr<TaskProfile>> profiles; in Load()570 auto profile = std::make_shared<TaskProfile>(); in Load()579 TaskProfile* TaskProfiles::GetProfile(const std::string& name) const { in GetProfile()600 TaskProfile* profile = GetProfile(name); in SetProcessProfiles()[all …]