Searched refs:SetClampsAction (Results 1 – 2 of 2) sorted by relevance
93 class SetClampsAction : public ProfileAction {95 SetClampsAction(int boost, int clamp) noexcept : boost_(boost), clamp_(clamp) {} in SetClampsAction() function
167 bool SetClampsAction::ExecuteForProcess(uid_t, pid_t) const { in ExecuteForProcess()173 bool SetClampsAction::ExecuteForTask(int) const { in ExecuteForTask()906 profile->Add(std::make_unique<SetClampsAction>(boost, clamp)); in Load()