/ohos5.0/foundation/resourceschedule/ffrt/test/ut/testcase/ |
H A D | ut_rtg.cpp | 62 if (tgid < 0) { 77 if (tgid < 0) { 97 if (tgid < 0) { 117 if (tgid < 0) { 135 if (tgid < 0) { 139 bool ret = RTGCtrl::Instance().Begin(tgid); 144 ret = RTGCtrl::Instance().End(tgid); 160 if (tgid < 0) { 228 if (tgid < 0) { 270 bool ret = RTGCtrl::Instance().Begin(tgid); [all …]
|
/ohos5.0/foundation/resourceschedule/ffrt/src/eu/ |
H A D | rtg_ioctl.cpp | 82 return RTGMsg(cmd, tgid, data); in Build() 93 this->tgid = var; in TGid() 143 ss << " tgid: " << tgid; in Format() 156 : cmd(cmd), tgid(tgid), data(data), in_size(0), out_size(0), in(nullptr), out(nullptr) in RTGMsg() 161 int32_t tgid; member in ffrt::RTGCtrl::RTGMsg 198 int tgid = -1; in GetThreadGroup() local 199 RTGMsg msg = RTGMsg::Build(CMD_CREATE_RTG).Out(&tgid).OutSize(sizeof(tgid)); in GetThreadGroup() 201 return RTGIOCtrl(msg) ? tgid : -1; in GetThreadGroup() 204 bool RTGCtrl::PutThreadGroup(int tgid) in PutThreadGroup() argument 288 bool RTGCtrl::Begin(int tgid) in Begin() argument [all …]
|
H A D | thread_group.h | 26 return tgid; in Id() 31 return tgid >= 0 && RTGCtrl::Instance().Enabled(); in Enabled() 40 tgid = RTGCtrl::Instance().GetThreadGroup(); in Init() 41 return tgid >= 0; in Init() 50 if (!RTGCtrl::Instance().PutThreadGroup(tgid)) { in Release() 54 tgid = -1; in Release() 65 RTGCtrl::Instance().Begin(tgid); in Begin() 73 RTGCtrl::Instance().End(tgid); in End() 90 return RTGCtrl::Instance().JoinThread(tgid, tid); in Join() 130 return RTGCtrl::Instance().UpdateAndGetLoad(tgid); in GetLoad() [all …]
|
H A D | rtg_ioctl.h | 45 bool PutThreadGroup(int tgid); 46 bool JoinThread(int tgid, pid_t tid); 47 bool RemoveThread(int tgid, pid_t tid); 48 bool UpdatePerfUtil(int tgid, int util); 49 bool UpdatePerfFreq(int tgid, int64_t freq); 50 RTGLoadInfo UpdateAndGetLoad(int tgid, pid_t tid); 51 RTGLoadInfo UpdateAndGetLoad(int tgid); 52 bool SetGroupWindowSize(int tgid, uint64_t size); 55 bool Begin(int tgid); 56 bool End(int tgid); [all …]
|
/ohos5.0/base/hiviewdfx/hitrace/tools/hitrace_converter/ |
H A D | hitrace_converter.py | 266 tgid = tgids.get(pid, "") 267 if tgid != "": 268 event_str += "(" + tgid.rjust(TGID_STR_MAX) + ")"
|
/ohos5.0/base/hiviewdfx/hitrace/cmd/config/ |
H A D | hitrace.rc | 100 chmod 0666 /sys/kernel/debug/tracing/options/print-tgid 101 chmod 0666 /sys/kernel/debug/tracing/options/record-tgid 205 chmod 0666 /sys/kernel/tracing/options/print-tgid 206 chmod 0666 /sys/kernel/tracing/options/record-tgid
|
H A D | hitrace_user.cfg | 180 "chmod 0666 /sys/kernel/tracing/options/print-tgid", 181 "chmod 0666 /sys/kernel/tracing/options/record-tgid",
|
H A D | hitrace.cfg | 179 "chmod 0666 /sys/kernel/debug/tracing/options/print-tgid", 180 "chmod 0666 /sys/kernel/debug/tracing/options/record-tgid", 502 "chmod 0666 /sys/kernel/tracing/options/print-tgid", 503 "chmod 0666 /sys/kernel/tracing/options/record-tgid",
|
/ohos5.0/foundation/resourceschedule/memmgr/common/include/ |
H A D | kernel_interface.h | 34 int tgid; member
|
/ohos5.0/base/hiviewdfx/hiview/ |
H A D | hisysevent.yaml | 80 TGID: {type: INT32, desc: service_block_report tgid} 87 TGID: {type: INT32, desc: service_timeout_report tgid}
|
/ohos5.0/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest004/ |
H A D | last_kmsg | 401 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/options/print-tgid " to 0666, err=2 474 …t_common_cmds.c:377]Failed to change mode " /sys/kernel/tracing/options/print-tgid " to 0666, err=2 618 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/options/print-tgid " to 0666, err=2 647 …t_common_cmds.c:377]Failed to change mode " /sys/kernel/tracing/options/print-tgid " to 0666, err=2
|
/ohos5.0/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest005/ |
H A D | last_kmsg | 401 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/options/print-tgid " to 0666, err=2 474 …t_common_cmds.c:377]Failed to change mode " /sys/kernel/tracing/options/print-tgid " to 0666, err=2 618 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/options/print-tgid " to 0666, err=2 647 …t_common_cmds.c:377]Failed to change mode " /sys/kernel/tracing/options/print-tgid " to 0666, err=2
|
/ohos5.0/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest008/ |
H A D | last_kmsg | 401 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/options/print-tgid " to 0666, err=2 474 …t_common_cmds.c:377]Failed to change mode " /sys/kernel/tracing/options/print-tgid " to 0666, err=2 618 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/options/print-tgid " to 0666, err=2 647 …t_common_cmds.c:377]Failed to change mode " /sys/kernel/tracing/options/print-tgid " to 0666, err=2
|
/ohos5.0/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest014/ |
H A D | last_kmsg | 401 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/options/print-tgid " to 0666, err=2 474 …t_common_cmds.c:377]Failed to change mode " /sys/kernel/tracing/options/print-tgid " to 0666, err=2 618 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/options/print-tgid " to 0666, err=2 647 …t_common_cmds.c:377]Failed to change mode " /sys/kernel/tracing/options/print-tgid " to 0666, err=2
|
/ohos5.0/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest015/ |
H A D | last_kmsg | 401 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/options/print-tgid " to 0666, err=2 474 …t_common_cmds.c:377]Failed to change mode " /sys/kernel/tracing/options/print-tgid " to 0666, err=2 618 …on_cmds.c:377]Failed to change mode " /sys/kernel/debug/tracing/options/print-tgid " to 0666, err=2 647 …t_common_cmds.c:377]Failed to change mode " /sys/kernel/tracing/options/print-tgid " to 0666, err=2
|