Lines Matching refs:rtgId
37 void WorkgroupInit(struct WorkGroup* wg, uint64_t interval, int rtgId) in WorkgroupInit() argument
41 wg->rtgId = rtgId; in WorkgroupInit()
42 wgId = rtgId; in WorkgroupInit()
88 rs.rtgId = -1; in CreateRSWorkGroup()
94 if (rs.rtgId > 0) { in CreateRSWorkGroup()
100 WorkgroupInit(rsWorkGroup, interval, rs.rtgId); in CreateRSWorkGroup()
133 rs.rtgId = -1; in JoinRSWorkGroup()
136 if (rs.rtgId > 0) { in JoinRSWorkGroup()
193 int rtgId = -1; in WorkgroupCreate() local
202 if (rtgId < 0) { in WorkgroupCreate()
203 FFRT_LOGE("[WorkGroup] create rtg group %d failed", rtgId); in WorkgroupCreate()
206 FFRT_LOGI("[WorkGroup] create rtg group %d success", rtgId); in WorkgroupCreate()
214 WorkgroupInit(wg, interval, rtgId); in WorkgroupCreate()
234 ret = DestroyRtgGrpAdapter(wg->rtgId); in WorkgroupClear()
262 FFRT_LOGE("[WorkGroup] start rtg(%d) work interval failed", wg->rtgId); in WorkgroupStartInterval()
282 FFRT_LOGE("[WorkGroup] stop rtg(%d) work interval failed", wg->rtgId); in WorkgroupStopInterval()
293 FFRT_LOGI("[WorkGroup] %s uid = %d rtgid = %d", __func__, uid, wg->rtgId); in WorkgroupJoin()
301 int addRet = AddThreadToRtgAdapter(tid, wg->rtgId, 0); in WorkgroupJoin()