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