Lines Matching defs:rtgId
36 void WorkgroupInit(struct WorkGroup* wg, uint64_t interval, int rtgId)
40 wg->rtgId = rtgId;
41 wgId = rtgId;
87 rs.rtgId = -1;
93 if (rs.rtgId > 0) {
99 WorkgroupInit(rsWorkGroup, interval, rs.rtgId);
132 rs.rtgId = -1;
135 if (rs.rtgId > 0) {
193 int rtgId = -1;
202 if (rtgId < 0) {
203 FFRT_LOGE("[WorkGroup] create rtg group %d failed", rtgId);
206 FFRT_LOGI("[WorkGroup] create rtg group %{public}d success", rtgId);
214 WorkgroupInit(wg, interval, rtgId);
235 ret = DestroyRtgGrpAdapter(wg->rtgId);
263 FFRT_LOGE("[WorkGroup] start rtg(%d) work interval failed", wg->rtgId);
283 FFRT_LOGE("[WorkGroup] stop rtg(%d) work interval failed", wg->rtgId);
294 FFRT_LOGI("[WorkGroup] %s uid = %d rtgid = %d", __func__, uid, wg->rtgId);
302 int addRet = AddThreadToRtgAdapter(tid, wg->rtgId, 0);