Home
last modified time | relevance | path

Searched refs:iter_count (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/third-party/benchmark/test/
H A Dbasic_test.cc100 benchmark::IterationCount iter_count = 0; in BM_KeepRunning() local
101 assert(iter_count == state.iterations()); in BM_KeepRunning()
103 ++iter_count; in BM_KeepRunning()
105 assert(iter_count == state.iterations()); in BM_KeepRunning()
117 benchmark::IterationCount iter_count = 0; in BM_KeepRunningBatch() local
119 iter_count += batch_size; in BM_KeepRunningBatch()
121 assert(state.iterations() == iter_count); in BM_KeepRunningBatch()
127 prior_iter_count = iter_count; in BM_KeepRunningBatch()
136 benchmark::IterationCount iter_count = 0; in BM_RangedFor() local
138 ++iter_count; in BM_RangedFor()
[all …]
/llvm-project-15.0.7/compiler-rt/test/tsan/
H A Ddeadlock_detector_stress_test.cpp21 static int iter_count = 100000; variable
322 for (int i = 0; i < iter_count; i++) { in Test10_Thread()
348 for (int i = 0; i < iter_count; i++) { in Test11_Thread()
373 for (int i = 0; i < iter_count; i++) { in Test12_Thread()
396 for (int i = 0; i < iter_count; i++) { in Test13_Thread()
496 for (size_t i = 0; i < iter_count / 100; i++) { in Test18_Thread()
543 void Lock1_Loop_0() { Lock1_Loop(0, iter_count); } in Lock1_Loop_0()
544 void Lock1_Loop_1() { Lock1_Loop(10, iter_count); } in Lock1_Loop_1()
545 void Lock1_Loop_2() { Lock1_Loop(20, iter_count); } in Lock1_Loop_2()
555 for (size_t it = 0; it <= iter_count; it++) { in CreateAndDestroyLocksLoop()
[all …]