/external/valgrind/coregrind/ |
m_threadstate.c | 56 ThreadId tid; local 66 for (tid = 1; tid < VG_N_THREADS; tid++) { 68 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].status, 69 sizeof(VG_(threads)[tid].status), "")); 71 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].os_state.exitcode, 72 sizeof(VG_(threads)[tid].os_state.exitcode), 101 ThreadState *VG_(get_ThreadState)(ThreadId tid) 103 vg_assert(tid >= 0 && tid < VG_N_THREADS) 144 ThreadId tid; local 158 ThreadId tid; local 171 ThreadId tid; local [all...] |
pub_core_replacemalloc.h | 44 void* (*tl_malloc) (ThreadId tid, SizeT n); 45 void* (*tl___builtin_new) (ThreadId tid, SizeT n); 46 void* (*tl___builtin_vec_new) (ThreadId tid, SizeT n); 47 void* (*tl_memalign) (ThreadId tid, SizeT align, SizeT n); 48 void* (*tl_calloc) (ThreadId tid, SizeT nmemb, SizeT n); 49 void (*tl_free) (ThreadId tid, void* p); 50 void (*tl___builtin_delete) (ThreadId tid, void* p); 51 void (*tl___builtin_vec_delete)(ThreadId tid, void* p); 52 void* (*tl_realloc) (ThreadId tid, void* p, SizeT size); 53 SizeT (*tl_malloc_usable_size) (ThreadId tid, void* payload) [all...] |
pub_core_debugger.h | 41 extern void VG_(start_debugger) ( ThreadId tid );
|
pub_core_syswrap.h | 44 extern void VG_(main_thread_wrapper_NORETURN)(ThreadId tid); 46 extern void VG_(client_syscall) ( ThreadId tid, UInt trc ); 48 extern void VG_(post_syscall) ( ThreadId tid ); 50 /* Clear this module's private state for thread 'tid' */ 51 extern void VG_(clear_syscallInfo) ( Int tid ); 54 extern Bool VG_(is_in_syscall) ( Int tid ); 58 ThreadId tid,
|
pub_core_coredump.h | 41 extern void VG_(make_coredump) ( ThreadId tid, const vki_siginfo_t *si,
|
/frameworks/base/core/java/android/os/ |
ISchedulingPolicyService.aidl | 28 * Move thread tid into appropriate cgroup and assign it priority prio. 29 * The thread group leader of tid must be pid. 32 int requestPriority(int pid, int tid, int prio);
|
/bionic/libc/bionic/ |
gettid.cpp | 34 return __get_thread()->tid;
|
pthread_gettid_np.cpp | 32 return reinterpret_cast<pthread_internal_t*>(t)->tid;
|
/ndk/tests/device/test-openmp/jni/ |
openmp2.c | 8 int nthreads, tid; local 11 #pragma omp parallel default(shared) private(nthreads, tid) 15 tid = omp_get_thread_num(); 16 printf("Hello World from thread = %d\n", tid); 18 if (tid == 0)
|
/external/linux-tools-perf/src/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...] |
/system/core/libbacktrace/ |
thread_utils.c | 25 int tgkill(int tgid, int tid, int sig) { 26 return syscall(__NR_tgkill, tgid, tid, sig);
|
thread_utils.h | 24 int tgkill(int tgid, int tid, int sig);
|
/external/valgrind/coregrind/m_coredump/ |
coredump-macho.c | 38 void VG_(make_coredump)(ThreadId tid, const vki_siginfo_t *si, ULong max_size)
|
/system/core/include/cutils/ |
sched_policy.h | 37 extern int set_cpuset_policy(int tid, SchedPolicy policy); 39 /* Assign thread tid to the cgroup associated with the specified policy. 42 * On platforms which support gettid(), zero tid means current thread. 45 extern int set_sched_policy(int tid, SchedPolicy policy); 47 /* Return the policy associated with the cgroup of thread tid via policy pointer. 48 * On platforms which support gettid(), zero tid means current thread. 51 extern int get_sched_policy(int tid, SchedPolicy *policy);
|
/external/valgrind/drd/tests/ |
annotate_hb_race.c | 31 pthread_t tid[2]; local 35 pthread_create(&tid[0], 0, thread_func, &result[0]); 36 pthread_create(&tid[1], 0, thread_func, &result[1]); 42 pthread_join(tid[0], NULL); 43 pthread_join(tid[1], NULL);
|
pth_cancel_locked.c | 27 pthread_t tid; local 36 pthread_create(&tid, 0, &thread, 0); 43 pthread_cancel(tid); 46 pthread_join(tid, 0); 49 pthread_cancel(tid);
|