Searched refs:nthread (Results 1 – 11 of 11) sorted by relevance
/external/valgrind/drd/tests/ |
D | pth_barrier.c | 67 static void barriers_and_races(const int nthread, const int iterations) in barriers_and_races() argument 75 t = malloc(nthread * sizeof(struct threadinfo)); in barriers_and_races() 81 pthread_barrier_init(&b, 0, nthread); in barriers_and_races() 87 for (i = 0; i < nthread; i++) in barriers_and_races() 95 i, nthread, strerror(res)); in barriers_and_races() 102 for (i = 0; i < nthread; i++) in barriers_and_races() 115 int nthread; in main() local 118 nthread = (argc > 1) ? atoi(argv[1]) : 2; in main() 122 barriers_and_races(nthread, iterations); in main()
|
D | annotate_barrier.c | 125 static void barriers_and_races(const int nthread, const int iterations) in barriers_and_races() argument 133 t = malloc(nthread * sizeof(struct threadinfo)); in barriers_and_races() 139 barrier_init(&b, nthread); in barriers_and_races() 141 for (i = 0; i < nthread; i++) in barriers_and_races() 151 for (i = 0; i < nthread; i++) in barriers_and_races() 162 int nthread; in main() local 165 nthread = (argc > 1) ? atoi(argv[1]) : 2; in main() 169 barriers_and_races(nthread, iterations); in main()
|
D | omp_matinv.c | 289 int nthread = 1; in main() local 304 case 't': nthread = atoi(optarg); break; in main() 319 assert(nthread >= 1); in main() 321 omp_set_num_threads(nthread); in main()
|
/external/ltp/testcases/realtime/perf/latency/ |
D | run_auto.sh | 25 nthread=5000 30 echo "number of threads = $nthread " | tee -a $LOG_FILE 35 rm -f $nthread.$iter.$nproc.*.out 38 ./pthread_cond_many --realtime --broadcast -i $iter -n $nthread > $nthread.$iter.$nproc.$i.out & 42 ./pthread_cond_many --broadcast -i $iter -n $nthread > $nthread.$iter.$nproc.$i.out &
|
/external/regex-re2/util/ |
D | benchmark.cc | 95 void RunBench(Benchmark* b, int nthread, int siz) { in RunBench() argument 99 if(nthread != 1) in RunBench()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_platform_windows.cc | 31 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) { in WriteMemoryProfile() argument
|
D | tsan_platform_linux.cc | 113 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) { in WriteMemoryProfile() argument 125 nlive, nthread); in WriteMemoryProfile()
|
D | tsan_platform_mac.cc | 110 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) { in WriteMemoryProfile() argument
|
D | tsan_rtl.cc | 452 uptr nthread = 0; in ForkChildAfter() local 453 ctx->thread_registry->GetNumberOfThreads(0, 0, &nthread /* alive threads */); in ForkChildAfter() 455 " parent had %d threads\n", (int)internal_getpid(), (int)nthread); in ForkChildAfter() 456 if (nthread == 1) { in ForkChildAfter()
|
D | tsan_platform.h | 759 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive);
|
/external/valgrind/docs/internals/ |
D | tm-threadstates.dot | 15 running -> wait_join [ label="wait for another\nthread termination" ];
|