Searched defs:nthread (Results 1 - 8 of 8) sorted by relevance
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_platform_windows.cc | 31 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) { argument
|
H A D | tsan_platform_mac.cc | 108 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) { argument
|
H A D | tsan_platform_linux.cc | 111 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) { argument 123 nlive, nthread);
|
H A D | tsan_rtl.cc | 444 uptr nthread = 0; local 445 ctx->thread_registry->GetNumberOfThreads(0, 0, &nthread /* alive threads */); 447 " parent had %d threads\n", (int)internal_getpid(), (int)nthread); 448 if (nthread == 1) {
|
/external/valgrind/drd/tests/ |
H A D | pth_barrier.c | 66 /** Actual test, consisting of nthread threads. */ 67 static void barriers_and_races(const int nthread, const int iterations) argument 75 t = malloc(nthread * sizeof(struct threadinfo)); 81 pthread_barrier_init(&b, 0, nthread); 87 for (i = 0; i < nthread; i++) 95 i, nthread, strerror(res)); 102 for (i = 0; i < nthread; i++) 115 int nthread; local 118 nthread = (argc > 1) ? atoi(argv[1]) : 2; 122 barriers_and_races(nthread, iteration [all...] |
H A D | annotate_barrier.c | 124 /* Actual test, consisting of nthread threads. */ 125 static void barriers_and_races(const int nthread, const int iterations) argument 133 t = malloc(nthread * sizeof(struct threadinfo)); 139 barrier_init(&b, nthread); 141 for (i = 0; i < nthread; i++) 151 for (i = 0; i < nthread; i++) 162 int nthread; local 165 nthread = (argc > 1) ? atoi(argv[1]) : 2; 169 barriers_and_races(nthread, iterations);
|
H A D | omp_matinv.c | 289 int nthread = 1; local 304 case 't': nthread = atoi(optarg); break; 319 assert(nthread >= 1); 321 omp_set_num_threads(nthread);
|
/external/regex-re2/util/ |
H A D | benchmark.cc | 95 void RunBench(Benchmark* b, int nthread, int siz) { argument 99 if(nthread != 1)
|
Completed in 193 milliseconds