Home
last modified time | relevance | path

Searched refs:tgid (Results 1 - 17 of 17) sorted by relevance

/foundation/resourceschedule/ffrt/test/ut/testcase/
H A Dut_rtg.cpp61 int tgid = RTGCtrl::Instance().GetThreadGroup(); in HWTEST_F() local
62 if (tgid < 0) { in HWTEST_F()
63 FFRT_LOGE("Failed to Get RTG id %d", tgid); in HWTEST_F()
66 bool ret = RTGCtrl::Instance().PutThreadGroup(tgid); in HWTEST_F()
68 FFRT_LOGE("Failed to Put RTG id %d", tgid); in HWTEST_F()
76 int tgid = RTGCtrl::Instance().GetThreadGroup(); in HWTEST_F() local
77 if (tgid < 0) { in HWTEST_F()
78 FFRT_LOGE("Failed to Get RTG id %d", tgid); in HWTEST_F()
81 bool ret = RTGCtrl::Instance().SetGroupWindowSize(tgid, WINDOW_SIZE); in HWTEST_F()
86 ret = RTGCtrl::Instance().PutThreadGroup(tgid); in HWTEST_F()
96 int tgid = RTGCtrl::Instance().GetThreadGroup(); HWTEST_F() local
116 int tgid = RTGCtrl::Instance().GetThreadGroup(); HWTEST_F() local
134 int tgid = RTGCtrl::Instance().GetThreadGroup(); HWTEST_F() local
159 int tgid = RTGCtrl::Instance().GetThreadGroup(); HWTEST_F() local
227 int tgid = RTGCtrl::Instance().GetThreadGroup(); HWTEST_F() local
[all...]
/foundation/resourceschedule/ffrt/src/eu/
H A Dthread_group.h26 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()
82 return RTGCtrl::Instance().JoinThread(tgid, RTGCtrl::GetTID()); in Join()
90 return RTGCtrl::Instance().JoinThread(tgid, ti in Join()
167 int tgid = -1; global() member in ffrt::ThreadGroup
[all...]
H A Drtg_ioctl.cpp80 static RTGMsg Build(uint32_t cmd = 0, int32_t tgid = 0, int64_t data = 0) in Build()
82 return RTGMsg(cmd, tgid, data); in Build()
93 this->tgid = var; in TGid()
143 ss << " tgid: " << tgid; in Format() local
155 RTGMsg(uint32_t cmd, int32_t tgid, int64_t data) in RTGMsg() argument
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 in GetThreadGroup() local
204 PutThreadGroup(int tgid) PutThreadGroup() argument
212 JoinThread(int tgid, pid_t tid) JoinThread() argument
220 RemoveThread(int tgid, pid_t tid) RemoveThread() argument
228 UpdatePerfUtil(int tgid, int util) UpdatePerfUtil() argument
236 UpdatePerfFreq(int tgid, int64_t freq) UpdatePerfFreq() argument
244 UpdateAndGetLoad(int tgid, pid_t tid) UpdateAndGetLoad() argument
258 UpdateAndGetLoad(int tgid) UpdateAndGetLoad() argument
272 SetGroupWindowSize(int tgid, uint64_t size) SetGroupWindowSize() argument
280 SetInvalidInterval(int tgid, uint64_t interval) SetInvalidInterval() argument
288 Begin(int tgid) Begin() argument
296 End(int tgid) End() argument
304 SetPreferredCluster(int tgid, int clusterId) SetPreferredCluster() argument
[all...]
H A Drtg_ioctl.h45 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);
53 bool SetInvalidInterval(int tgid, uint64_t interval);
55 bool Begin(int tgid);
[all...]
/third_party/musl/libc-test/src/functional/
H A Dtgkill.c12 int tgid, tid; in main() local
13 tgid = ARGV_1; in main()
16 if (tgkill(tgid, tid, SIGPROF) == -1 && errno != ESRCH) { in main()
/third_party/musl/src/linux/
H A Dtgkill.c19 int tgkill(int tgid, int tid, int sig) in tgkill() argument
21 return syscall(__NR_tgkill, tgid, tid, sig); in tgkill()
/third_party/musl/porting/linux/user/src/linux/
H A Dtgkill.c19 int tgkill(int tgid, int tid, int sig) in tgkill() argument
21 return syscall(__NR_tgkill, tgid, tid, sig); in tgkill()
/third_party/ltp/testcases/kernel/syscalls/tgkill/
H A Dtgkill.h12 static inline int sys_tgkill(int tgid, int tid, int sig) in sys_tgkill() argument
14 return tst_syscall(__NR_tgkill, tgid, tid, sig); in sys_tgkill()
H A Dtgkill03.c80 const int *tgid; member
85 { "Invalid tgid", &invalid_pid, &parent_tid, SIGUSR1, EINVAL },
89 { "Defunct tgid", &defunct_tid, &child_tid, SIGUSR1, ESRCH },
97 TEST(sys_tgkill(*tc->tgid, *tc->tid, tc->sig)); in run()
/third_party/ltp/testcases/kernel/syscalls/rt_sigqueueinfo/
H A Drt_sigqueueinfo.h12 static int sys_rt_sigqueueinfo(pid_t tgid, int sig, siginfo_t *uinfo) in sys_rt_sigqueueinfo() argument
14 return tst_syscall(__NR_rt_sigqueueinfo, tgid, sig, uinfo); in sys_rt_sigqueueinfo()
/third_party/ltp/testcases/kernel/syscalls/fanotify/
H A Dfanotify11.c62 int tgid = getpid(); in test01() local
64 tst_res(TINFO, "Test #%u: %s FAN_REPORT_TID: tgid=%d, tid=%d, event.pid=%d", in test01()
66 tgid, tid, event.pid); in test01()
84 else if (!(tcases[i] & FAN_REPORT_TID) && event.pid == tgid) in test01()
85 tst_res(TPASS, "event.pid == tgid"); in test01()
/third_party/ltp/testcases/kernel/syscalls/clone/
H A Dclone08.c20 static pid_t ptid, ctid, tgid; variable
149 tgid = tst_syscall(__NR_getpid); in test_clone_thread()
178 if (tgid == tst_syscall(__NR_getpid)) in child_clone_thread()
/third_party/musl/porting/linux/user/include/sys/
H A Dtgkill.h24 * @param tgid the group ID of the calling process.
31 int tgkill(int tgid, int tid, int sig);
/third_party/musl/include/sys/
H A Dtgkill.h24 * @param tgid the group ID of the calling process.
31 int tgkill(int tgid, int tid, int sig);
/foundation/resourceschedule/memmgr/common/include/
H A Dkernel_interface.h34 int tgid; member
/third_party/pulseaudio/src/pulsecore/
H A Dcore-util.c1175 GETGROUPS_T *gids, tgid; in pa_own_uid_in_group() local
1199 if ((k = is_group(tgid = getgid(), name)) < 0) in pa_own_uid_in_group()
1202 *gid = tgid; in pa_own_uid_in_group()
/third_party/libbpf/include/uapi/linux/
H A Dbpf.h1996 * Get the current pid and tgid.
1998 * A 64-bit integer containing the current tgid and pid, and
2000 * *current_task*\ **->tgid << 32 \|**
4166 * Returns 0 on success, values for *pid* and *tgid* as seen from the current
7209 __u32 tgid; member

Completed in 20 milliseconds