HomeSort by relevance Sort by last modified time
    Searched refs:tid (Results 1 - 25 of 703) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /bionic/libc/bionic/
gettid.cpp 37 pid_t tid = self->tid; local
38 if (__predict_true(tid != -1)) {
39 return tid;
41 self->tid = syscall(__NR_gettid);
42 return self->tid;
pthread_getschedparam.cpp 39 pid_t tid = __pthread_internal_gettid(t, "pthread_getschedparam"); local
40 if (tid == -1) return ESRCH;
42 if (sched_getparam(tid, param) == -1) return errno;
43 *policy = sched_getscheduler(tid);
pthread_kill.cpp 38 pid_t tid = __pthread_internal_gettid(t, "pthread_kill"); local
40 // tid gets reset to 0 on thread exit by CLONE_CHILD_CLEARTID.
41 if (tid == 0 || tid == -1) return ESRCH;
43 return (tgkill(getpid(), tid, sig) == -1) ? errno : 0;
pthread_setschedparam.cpp 41 pid_t tid = __pthread_internal_gettid(t, "pthread_setschedparam"); local
42 if (tid == -1) return ESRCH;
44 return (sched_setscheduler(tid, policy, param) == -1) ? errno : 0;
51 pid_t tid = __pthread_internal_gettid(t, "pthread_setschedprio"); local
52 if (tid == -1) return ESRCH;
55 return (sched_setparam(tid, &param) == -1) ? errno : 0;
pthread_getcpuclockid.cpp 34 pid_t tid = __pthread_internal_gettid(t, "pthread_getcpuclockid"); local
35 if (tid == -1) return ESRCH;
37 // The tid is stored in the top bits, but negated.
38 clockid_t result = ~static_cast<clockid_t>(tid) << 3;
pthread_join.cpp 57 pid_t tid = thread->tid; local
58 volatile int* tid_ptr = &thread->tid;
65 __futex_wait(tid_ptr, tid, nullptr);
  /external/grpc-grpc/test/core/profiling/
mark_timings.stp 11 starts[$arg1, tid()] = gettimeofday_ns();
17 if (s = starts[tag, tid()]) {
18 times[tag, tid()] <<< t-s;
19 delete starts[tag, tid()];
24 printf("%15s %9s %10s %10s %10s %10s\n", "tag", "tid", "count",
26 foreach ([tag+, tid] in times) {
27 printf("%15X %9d %10d %10d %10d %10d\n", tag, tid, @count(times[tag, tid]),
28 @min(times[tag, tid]), @avg(times[tag, tid]), @max(times[tag, tid]))
    [all...]
  /external/adeb/bcc/misc/
android-futex-contention.py 21 lock_waits = {} # long-lived stats on (tid,lock) blockage elapsed time
52 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm, callchain,
60 process_names[tid] = comm
61 thread_thislock[tid] = uaddr
62 thread_blocktime[tid] = nsecs(s, ns)
64 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm, callchain,
70 if thread_blocktime.has_key(tid):
72 elapsed = nsecs(s, ns) - thread_blocktime[tid]
73 add_stats(lock_waits, (tid, thread_thislock[tid]), elapsed
    [all...]
futex-contention.py 21 lock_waits = {} # long-lived stats on (tid,lock) blockage elapsed time
35 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm, callchain,
43 process_names[tid] = comm
44 thread_thislock[tid] = uaddr
45 thread_blocktime[tid] = nsecs(s, ns)
47 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm, callchain,
49 if thread_blocktime.has_key(tid):
50 elapsed = nsecs(s, ns) - thread_blocktime[tid]
51 add_stats(lock_waits, (tid, thread_thislock[tid]), elapsed
    [all...]
  /development/tools/bugreport/src/com/android/bugreport/bugreport/
ThreadInfo.java 31 public int tid; field in class:ThreadInfo
41 public ThreadInfo(ProcessInfo pi, int tid, String name) {
43 this.tid = tid;
  /external/openssh/regress/
localcommand.sh 4 tid="localcommand"
10 verbose "test $tid: proto $p localcommand"
13 fail "$tid proto $p"
portnum.sh 4 tid="port number parsing"
8 verbose "$tid: invalid port $port"
10 fail "$tid accepted invalid port $port"
15 verbose "$tid: valid port $port"
19 fail "$tid rejected valid port $port"
host-expand.sh 4 tid="expand %h and %n"
15 verbose "test $tid: proto $p"
17 diff $OBJ/expect $OBJ/actual || fail "$tid proto $p"
  /device/google/cuttlefish_common/common/vsoc/lib/
compat.cpp 26 thread_local uint32_t tid = syscall(SYS_gettid); local
27 return tid;
  /external/ltp/testcases/kernel/syscalls/tgkill/
tgkill.h 12 static inline int sys_tgkill(int tgid, int tid, int sig)
14 return tst_syscall(__NR_tgkill, tgid, tid, sig);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_delete/speculative/
5-1.c 22 timer_t tid; local
24 tid = (timer_t) & tval;
26 if (timer_delete(tid) == -1) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_getoverrun/speculative/
6-1.c 22 timer_t tid; local
24 tid = (timer_t) & tval;
26 if (timer_getoverrun(tid) == -1) {
6-3.c 27 timer_t tid; local
32 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
37 if (timer_getoverrun(tid + 1) == -1) {
6-2.c 30 timer_t tid; local
35 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
40 if (timer_delete(tid) != 0) {
45 if (timer_getoverrun(tid) == -1) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/speculative/
6-1.c 22 timer_t tid; local
25 tid = (timer_t) & tval;
26 if (timer_gettime(tid, &its) == -1) {
6-2.c 25 timer_t tid; local
31 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
36 if (timer_gettime(tid + 1, &its) == -1) {
6-3.c 25 timer_t tid; local
31 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
35 if (timer_delete(tid) != 0) {
40 if (timer_gettime(tid, &its) == -1) {
  /device/linaro/bootloader/arm-trusted-firmware/include/lib/pmf/
pmf_helpers.h 22 typedef unsigned long long (*pmf_svc_get_ts_t)(unsigned int tid,
56 * Convenience macro to validate tid index for the given TS array.
66 unsigned int tid, \
70 PMF_VALIDATE_TID(_name, tid); \
73 __pmf_store_timestamp(base_addr, tid, ts); \
75 __pmf_dump_timestamp(tid, ts); \
78 unsigned int tid, \
82 PMF_VALIDATE_TID(_name, tid); \
85 __pmf_store_timestamp_with_cache_maint(base_addr, tid, ts);\
87 __pmf_dump_timestamp(tid, ts);
    [all...]
  /external/compiler-rt/test/tsan/
bench_release_only.cc 12 void thread(int tid) {
13 __atomic_load_n(&x[tid * kStride], __ATOMIC_ACQUIRE);
15 __atomic_store_n(&x[tid * kStride], 0, __ATOMIC_RELEASE);
bench_acquire_release.cc 11 void thread(int tid) {

Completed in 1135 milliseconds

1 2 3 4 5 6 7 8 91011>>