Home
last modified time | relevance | path

Searched refs:nthread (Results 1 – 12 of 12) sorted by relevance

/external/valgrind/main/drd/tests/
Dpth_barrier.c67 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()
Dannotate_barrier.c125 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()
Domp_matinv.c289 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/chromium_org/third_party/re2/util/
Dbenchmark.cc95 void RunBench(Benchmark* b, int nthread, int siz) { in RunBench() argument
99 if(nthread != 1) in RunBench()
/external/regex-re2/util/
Dbenchmark.cc95 void RunBench(Benchmark* b, int nthread, int siz) { in RunBench() argument
99 if(nthread != 1) in RunBench()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_platform_windows.cc31 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) { in WriteMemoryProfile() argument
Dtsan_platform_mac.cc50 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) { in WriteMemoryProfile() argument
Dtsan_platform_linux.cc99 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) { in WriteMemoryProfile() argument
108 nlive, nthread); in WriteMemoryProfile()
Dtsan_platform.h166 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive);
Dtsan_rtl.cc405 uptr nthread = 0; in ForkChildAfter() local
406 ctx->thread_registry->GetNumberOfThreads(0, 0, &nthread /* alive threads */); in ForkChildAfter()
408 " parent had %d threads\n", (int)internal_getpid(), (int)nthread); in ForkChildAfter()
409 if (nthread == 1) { in ForkChildAfter()
/external/valgrind/main/docs/internals/
Dtm-threadstates.dot15 running -> wait_join [ label="wait for another\nthread termination" ];
/external/chromium_org/third_party/sqlite/src/test/
Dwalthread.test146 set E(nthread) $count
416 incr nextwrite $E(nthread)