Searched refs:RTGCtrl (Results 1 – 5 of 5) sorted by relevance
55 bool enabled = RTGCtrl::Instance().Enabled();61 int tgid = RTGCtrl::Instance().GetThreadGroup();76 int tgid = RTGCtrl::Instance().GetThreadGroup();86 ret = RTGCtrl::Instance().PutThreadGroup(tgid);106 ret = RTGCtrl::Instance().PutThreadGroup(tgid);139 bool ret = RTGCtrl::Instance().Begin(tgid);144 ret = RTGCtrl::Instance().End(tgid);173 pid_t tid = RTGCtrl::GetTID(); in __anone3ead2840102()241 pid_t tid = RTGCtrl::GetTID(); in __anone3ead2840202()270 bool ret = RTGCtrl::Instance().Begin(tgid);[all …]
84 MOCKER_CPP(&RTGCtrl::GetThreadGroup).stubs().will(returnValue(1));85 MOCKER_CPP(&RTGCtrl::PutThreadGroup).stubs().will(returnValue(true));86 MOCKER_CPP(&RTGCtrl::JoinThread).stubs().will(returnValue(true));87 MOCKER_CPP(&RTGCtrl::RemoveThread).stubs().will(returnValue(true));
31 return tgid >= 0 && RTGCtrl::Instance().Enabled(); in Enabled()40 tgid = RTGCtrl::Instance().GetThreadGroup(); in Init()50 if (!RTGCtrl::Instance().PutThreadGroup(tgid)) { in Release()65 RTGCtrl::Instance().Begin(tgid); in Begin()73 RTGCtrl::Instance().End(tgid); in End()82 return RTGCtrl::Instance().JoinThread(tgid, RTGCtrl::GetTID()); in Join()90 return RTGCtrl::Instance().JoinThread(tgid, tid); in Join()98 return RTGCtrl::Instance().RemoveThread(tgid, RTGCtrl::GetTID()); in Leave()106 return RTGCtrl::Instance().RemoveThread(tgid, tid); in Leave()130 return RTGCtrl::Instance().UpdateAndGetLoad(tgid); in GetLoad()[all …]
78 class RTGCtrl::RTGMsg {169 RTGCtrl::RTGCtrl() in RTGCtrl() function in ffrt::RTGCtrl185 RTGCtrl::~RTGCtrl() in ~RTGCtrl()194 int RTGCtrl::GetThreadGroup() in GetThreadGroup()204 bool RTGCtrl::PutThreadGroup(int tgid) in PutThreadGroup()212 bool RTGCtrl::JoinThread(int tgid, pid_t tid) in JoinThread()220 bool RTGCtrl::RemoveThread(int tgid, pid_t tid) in RemoveThread()288 bool RTGCtrl::Begin(int tgid) in Begin()296 bool RTGCtrl::End(int tgid) in End()312 pid_t RTGCtrl::GetTID() in GetTID()[all …]
29 class RTGCtrl {33 static RTGCtrl& Instance() in Instance()35 static RTGCtrl ctrl; in Instance()63 RTGCtrl();64 ~RTGCtrl();