Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform_mac.cpp172 uptr nthread, nlive; in WriteMemoryProfile() local
173 ctx->thread_registry.GetNumberOfThreads(&nthread, &nlive); in WriteMemoryProfile()
197 stacks.n_uniq_ids, stacks.allocated / 1024, nthread, nlive); in WriteMemoryProfile()
H A Dtsan_platform_linux.cpp124 uptr nthread, nlive; in WriteMemoryProfile() local
125 ctx->thread_registry.GetNumberOfThreads(&nthread, &nlive); in WriteMemoryProfile()
148 stacks.allocated >> 20, nlive, nthread); in WriteMemoryProfile()
H A Dtsan_rtl.cpp849 u32 nthread = ctx->thread_registry.OnFork(thr->tid); in ForkChildAfter() local
853 (int)internal_getpid(), (int)nthread); in ForkChildAfter()
854 if (nthread == 1) { in ForkChildAfter()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_platform_mac.cpp177 uptr nthread, nlive; in WriteMemoryProfile() local
178 ctx->thread_registry.GetNumberOfThreads(&nthread, &nlive); in WriteMemoryProfile()
204 stacks.n_uniq_ids, stacks.allocated / 1024, nthread, nlive); in WriteMemoryProfile()
H A Dtsan_platform_linux.cpp127 uptr nthread, nlive; in WriteMemoryProfile() local
128 ctx->thread_registry.GetNumberOfThreads(&nthread, &nlive); in WriteMemoryProfile()
146 stacks.n_uniq_ids, nlive, nthread); in WriteMemoryProfile()
H A Dtsan_rtl.cpp567 uptr nthread = 0; in ForkChildAfter() local
568 ctx->thread_registry.GetNumberOfThreads(0, 0, &nthread /* alive threads */); in ForkChildAfter()
570 " parent had %d threads\n", (int)internal_getpid(), (int)nthread); in ForkChildAfter()
571 if (nthread == 1) { in ForkChildAfter()