Searched refs:thread_index (Results 1 – 3 of 3) sorted by relevance
| /xnu-10002.41.9/tools/tests/perf_index/ |
| H A D | perf_index.c | 161 int thread_index; in main() local 200 for (thread_index = 0; thread_index < args.num_threads; thread_index++) { in main() 201 retval = pthread_create(&threads[thread_index], NULL, thread_setup, (void*)(long)thread_index); in main() 213 for (thread_index = 0; thread_index < args.num_threads; thread_index++) { in main() 214 pthread_join(threads[thread_index], &thread_retval_ptr); in main()
|
| /xnu-10002.41.9/tools/tests/perf_index/PerfIndex_COPS_Module/ |
| H A D | PITest.m | 105 for(int thread_index = 0; thread_index < self->numThreads; thread_index++) { 106 NSNumber* my_thread_index = [NSNumber numberWithInt:thread_index]; 108 retval = pthread_create(&threads[thread_index], NULL, thread_setup, (__bridge void*)arg); 127 for(int thread_index = 0; thread_index < self->numThreads; thread_index++) { 128 pthread_join(self->threads[thread_index], NULL);
|
| /xnu-10002.41.9/tests/ |
| H A D | perf_vmfault.c | 299 int thread_index, thread_retval; in execute_threads() local 314 for (thread_index = 0; thread_index < num_threads; thread_index++) { in execute_threads() 315 thread_indices[thread_index] = thread_index; in execute_threads() 316 T_QUIET; T_ASSERT_POSIX_SUCCESS(pthread_create(&threads[thread_index], NULL, in execute_threads() 317 thread_setup, (void *)&thread_indices[thread_index]), "pthread_create"); in execute_threads() 338 for (thread_index = 0; thread_index < num_threads; thread_index++) { in execute_threads() 339 T_QUIET; T_ASSERT_POSIX_SUCCESS(pthread_join(threads[thread_index], &thread_retval_ptr), in execute_threads()
|