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

1 2 3 4 5 6 7 8 91011>>

  /bionic/libc/bionic/
gettid.cpp 34 return __get_thread()->tid;
pthread_kill.cpp 35 extern "C" int tgkill(int tgid, int tid, int sig);
46 pid_t tid = thread->tid; local
49 int rc = tgkill(getpid(), tid, sig);
pthread_join.cpp 39 pid_t tid; local
57 tid = thread->tid;
58 tid_ptr = &thread->tid;
66 __futex_wait(tid_ptr, tid, NULL);
pthread_gettid_np.cpp 33 return reinterpret_cast<pthread_internal_t*>(t)->tid;
pthread_getschedparam.cpp 42 int rc = sched_getparam(thread->tid, param);
46 *policy = sched_getscheduler(thread->tid);
  /external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/python/
futex-contention.py 21 lock_waits = {} # long-lived stats on (tid,lock) blockage elapsed time
24 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm,
30 process_names[tid] = comm
31 thread_thislock[tid] = uaddr
32 thread_blocktime[tid] = nsecs(s, ns)
34 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm,
36 if thread_blocktime.has_key(tid):
37 elapsed = nsecs(s, ns) - thread_blocktime[tid]
38 add_stats(lock_waits, (tid, thread_thislock[tid]), elapsed
    [all...]
  /external/lldb/source/Plugins/Process/MacOSX-Kernel/
RegisterContextKDP_i386.h 33 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr);
36 DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu);
39 DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc);
42 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
45 DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu);
48 DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &exc);
RegisterContextKDP_x86_64.h 34 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr);
37 DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu);
40 DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc);
43 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
46 DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu);
49 DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &exc);
RegisterContextKDP_arm.h 35 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr);
38 DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu);
41 DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc);
44 DoReadDBG (lldb::tid_t tid, int flavor, DBG &dbg);
47 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
50 DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu);
53 DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &exc);
56 DoWriteDBG (lldb::tid_t tid, int flavor, const DBG &dbg);
  /external/lldb/source/Plugins/Process/Utility/
RegisterContextMach_i386.h 31 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr);
34 DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu);
37 DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc);
40 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
43 DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu);
46 DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &exc);
RegisterContextMach_x86_64.h 31 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr);
34 DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu);
37 DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc);
40 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
43 DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu);
46 DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &exc);
RegisterContextMach_arm.h 32 DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr);
35 DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu);
38 DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc);
41 DoReadDBG (lldb::tid_t tid, int flavor, DBG &dbg);
44 DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr);
47 DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu);
50 DoWriteEXC (lldb::tid_t tid, int flavor, const EXC &exc);
53 DoWriteDBG (lldb::tid_t tid, int flavor, const DBG &dbg);
RegisterContextMach_arm.cpp 36 RegisterContextMach_arm::DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr)
39 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count);
43 RegisterContextMach_arm::DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu)
46 return ::thread_get_state(tid, flavor, (thread_state_t)&fpu, &count);
50 RegisterContextMach_arm::DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc)
53 return ::thread_get_state(tid, flavor, (thread_state_t)&exc, &count);
57 RegisterContextMach_arm::DoReadDBG (lldb::tid_t tid, int flavor, DBG &dbg)
60 return ::thread_get_state(tid, flavor, (thread_state_t)&dbg, &count);
64 RegisterContextMach_arm::DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr)
66 return ::thread_set_state(tid, flavor, (thread_state_t)&gpr, GPRWordCount)
    [all...]
RegisterContextMach_i386.cpp 34 RegisterContextMach_i386::DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr)
37 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count);
41 RegisterContextMach_i386::DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu)
44 return ::thread_get_state(tid, flavor, (thread_state_t)&fpu, &count);
48 RegisterContextMach_i386::DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc)
51 return ::thread_get_state(tid, flavor, (thread_state_t)&exc, &count);
55 RegisterContextMach_i386::DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr)
57 return ::thread_set_state(tid, flavor, (thread_state_t)&gpr, GPRWordCount);
61 RegisterContextMach_i386::DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu)
63 return ::thread_set_state(tid, flavor, (thread_state_t)&fpu, FPUWordCount)
    [all...]
RegisterContextMach_x86_64.cpp 34 RegisterContextMach_x86_64::DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr)
37 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count);
41 RegisterContextMach_x86_64::DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu)
44 return ::thread_get_state(tid, flavor, (thread_state_t)&fpu, &count);
48 RegisterContextMach_x86_64::DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc)
51 return ::thread_get_state(tid, flavor, (thread_state_t)&exc, &count);
55 RegisterContextMach_x86_64::DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr)
57 return ::thread_set_state(tid, flavor, (thread_state_t)&gpr, GPRWordCount);
61 RegisterContextMach_x86_64::DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu)
63 return ::thread_set_state(tid, flavor, (thread_state_t)&fpu, FPUWordCount)
    [all...]
  /external/chromium_org/ppapi/native_client/src/untrusted/irt_stub/
thread_creator.c 15 static int thread_create(uintptr_t *tid,
24 return pthread_create((pthread_t *) tid, NULL,
29 static int thread_join(uintptr_t tid) {
30 return pthread_join((pthread_t) tid, NULL);
  /external/compiler-rt/test/tsan/
bench_release_only.cc 9 void thread(int tid) {
10 __atomic_load_n(&x[tid * kStride], __ATOMIC_ACQUIRE);
12 __atomic_store_n(&x[tid * kStride], 0, __ATOMIC_RELEASE);
bench_acquire_release.cc 8 void thread(int tid) {
bench_mutex.cc 10 void thread(int tid) {
13 while (x != i * 2 + tid)
  /external/lldb/tools/debugserver/source/MacOSX/
MachThreadList.h 29 bool GetRegisterValue (nub_thread_t tid, uint32_t reg_set_idx, uint32_t reg_idx, DNBRegisterValue *reg_value) const;
30 bool SetRegisterValue (nub_thread_t tid, uint32_t reg_set_idx, uint32_t reg_idx, const DNBRegisterValue *reg_value) const;
31 nub_size_t GetRegisterContext (nub_thread_t tid, void *buf, size_t buf_len);
32 nub_size_t SetRegisterContext (nub_thread_t tid, const void *buf, size_t buf_len);
33 const char * GetThreadInfo (nub_thread_t tid) const;
38 const char * GetName (nub_thread_t tid);
39 nub_state_t GetState (nub_thread_t tid);
40 nub_thread_t SetCurrentThread (nub_thread_t tid);
41 bool GetThreadStoppedReason (nub_thread_t tid, struct DNBThreadStopInfo *stop_info) const;
42 void DumpThreadStoppedReason (nub_thread_t tid) const
    [all...]
  /external/oprofile/daemon/liblegacy/
opd_proc.h 34 pid_t tid; member in struct:opd_proc
86 * @param tid tid for this process
91 void opd_handle_exec(pid_t tid, pid_t tgid);
107 * @param tid tid for this process
110 * A process with pid tid is searched on the process list,
114 struct opd_proc * opd_get_proc(pid_t tid, pid_t tgid);
118 * @param tid tid for this proces
    [all...]
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_thread_registry.cc 19 ThreadContextBase::ThreadContextBase(u32 tid)
20 : tid(tid), unique_id(0), reuse_count(), os_id(0), user_id(0),
74 // Parent tid makes no sense for the main thread.
75 if (tid != 0)
124 u32 tid = kUnknownTid; local
127 tid = tctx->tid;
129 // Allocate new thread context and tid.
130 tid = n_contexts_++
    [all...]
  /external/bluetooth/bluedroid/utils/src/
bt_utils.c 122 int tid = gettid(); local
130 // set_sched_policy does not support tid == 0
131 rc = set_sched_policy(tid, SP_AUDIO_SYS);
133 g_TaskIDs[high_task] = tid;
137 ALOGW("failed to change sched policy, tid %d, err: %d", tid, errno);
147 if (setpriority(PRIO_PROCESS, tid, priority) < 0) {
148 ALOGW("failed to change priority tid: %d to %d", tid, priority);
165 int tid; local
    [all...]
  /external/chromium_org/ppapi/nacl_irt/public/
irt_ppapi.h 30 int (*thread_create)(uintptr_t* tid,
33 int (*thread_join)(uintptr_t tid);
  /external/compiler-rt/lib/tsan/rtl/
tsan_clock.h 35 u64 get(unsigned tid) const {
36 DCHECK_LT(tid, clk_.Size());
37 return clk_[tid].epoch;
57 explicit ThreadClock(unsigned tid, unsigned reused = 0);
59 u64 get(unsigned tid) const {
60 DCHECK_LT(tid, kMaxTidInClock);
61 return clk_[tid].epoch;
64 void set(unsigned tid, u64 v);

Completed in 719 milliseconds

1 2 3 4 5 6 7 8 91011>>