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