Searched refs:thread_id (Results 1 - 25 of 99) sorted by relevance

1234

/macosx-10.10.1/xnu-2782.1.97/tools/tests/perf_index/
H A Dperfindex-fault.c9 return test_fault_helper(thread_id, num_threads, length, TESTFAULT);
H A Dperfindex-zfod.c9 return test_fault_helper(thread_id, num_threads, length, TESTZFOD);
H A Dtest_file_helper.h8 int test_file_create(char* path, int thread_id, int num_threads, long long length);
10 int test_file_read(char* path, int thread_id, int num_threads, long long length, long long max_file_size);
13 int test_file_write(char* path, int thread_id, int num_threads, long long length, long long max_file_size);
H A Dtest_fault_helper.h10 int test_fault_helper(int thread_id, int num_threads, long long length, testtype_t testtype);
H A Dperf_index.h5 #define DECL_TEST int execute(int thread_id, int num_threads, long long length, int test_argc, const void** test_argv)
H A Dperfindex-file_create.c23 return test_file_create(tempdir, thread_id, num_threads, length);
H A Dperfindex-ram_file_create.c23 return test_file_create(ramdisk_path, thread_id, num_threads, length);
H A Dtest_fault_helper.c36 int test_fault_helper(int thread_id, int num_threads, long long length, testtype_t testtype) { argument
43 long long region_start = region_len * thread_id;
46 if(thread_id < num_pages % num_threads) {
47 region_start += thread_id;
H A Dperfindex-memory.c61 long long region_start = memsize / num_threads * thread_id / 2;
64 if(thread_id < memsize / 2 % num_threads) {
65 region_start += thread_id;
H A Dtest_file_helper.c25 int test_file_create(char* path, int thread_id, int num_threads, long long length) { argument
32 snprintf(filepath, MAXPATHLEN, "%s/file_create-%d-%lld", path, thread_id, i);
40 snprintf(filepath, MAXPATHLEN, "%s/file_create-%d-%lld", path, thread_id, i);
77 int test_file_read(char* path, int thread_id, int num_threads, long long length, long long max_file_size) { argument
149 int test_file_write(char* path, int thread_id, int num_threads, long long length, long long max_file_size) { argument
154 int fd = fds[thread_id];
H A Dperfindex-file_read.c22 return test_file_read(tempdir, thread_id, num_threads, length, 0L);
H A Dperfindex-file_write.c24 return test_file_write(tempdir, thread_id, num_threads, length, 0L);
H A Dperfindex-ram_file_read.c23 return test_file_read(ramdisk_path, thread_id, num_threads, length, 0L);
H A Dperfindex-ram_file_write.c23 return test_file_write(ramdisk_path, thread_id, num_threads, length, 0L);
H A Dperfindex-compile.c31 if(thread_id != 0)
/macosx-10.10.1/apr-32/apr/apr/include/arch/beos/
H A Dapr_arch_thread_cond.h38 thread_id owner;
H A Dapr_arch_thread_rwlock.h41 thread_id writer;
H A Dapr_arch_threadproc.h44 thread_id td;
65 volatile thread_id td;
/macosx-10.10.1/MITKerberosShim-66/mittestcc/
H A Dsimple_lock_test.c53 pthread_t thread_id; local
64 status = pthread_create (&thread_id, NULL, (void *) other_thread, NULL);
70 pthread_join(thread_id, NULL);
/macosx-10.10.1/apr-32/apr/apr/threadproc/beos/
H A Dthreadpriv.c49 thread_id tid;
81 thread_id tid;
99 beos_data[i]->td = (thread_id)malloc(sizeof(thread_id));
/macosx-10.10.1/curl-83.1.2/curl/docs/examples/
H A Dthreaded-ssl.c57 static unsigned long thread_id(void) function
75 CRYPTO_set_id_callback((unsigned long (*)())thread_id);
/macosx-10.10.1/libstdcxx-104.1/include/c++/4.2.1/bits/
H A Dgthr-default.h280 objc_thread_t thread_id; local
287 thread_id = (objc_thread_t) new_thread_handle;
289 thread_id = NULL;
291 return thread_id;
304 pthread_t thread_id = __gthrw_(pthread_self) (); local
309 if (__gthrw_(pthread_getschedparam) (thread_id, &policy, &params) == 0)
328 if (__gthrw_(pthread_setschedparam) (thread_id, policy, &params) == 0)
H A Dgthr-posix.h280 objc_thread_t thread_id; local
287 thread_id = (objc_thread_t) new_thread_handle;
289 thread_id = NULL;
291 return thread_id;
304 pthread_t thread_id = __gthrw_(pthread_self) (); local
309 if (__gthrw_(pthread_getschedparam) (thread_id, &policy, &params) == 0)
328 if (__gthrw_(pthread_setschedparam) (thread_id, policy, &params) == 0)
/macosx-10.10.1/OpenSSL098-52/src/crypto/
H A Dtmdiff.c134 HANDLE thread_id;
157 ret->thread_id=GetCurrentThread();
178 GetThreadTimes(tm->thread_id,&tmpa,&tmpb,&tmpc,&(tm->ms_win32));
/macosx-10.10.1/ruby-106/ruby/
H A Dthread_win32.c159 &th->thread_id, 0, FALSE, DUPLICATE_SAME_ACCESS);
164 th, GET_THREAD()->thread_id,
604 thread_debug("close handle - intr: %p, thid: %p\n", intr, th->thread_id);
612 volatile HANDLE thread_id = th->thread_id; local
619 th->thread_id, th->native_thread_data.interrupt_event);
623 w32_close_handle(thread_id);
632 th->thread_id = w32_create_thread(stack_size, thread_start_func_1, th);
634 if ((th->thread_id) == 0) {
638 w32_resume_thread(th->thread_id);
[all...]

Completed in 191 milliseconds

1234