Home
last modified time | relevance | path

Searched refs:total_loop_test_param (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/external/cronet/third_party/libc++/src/benchmarks/
H A Datomic_wait.bench.cpp26 std::uint64_t total_loop_test_param = state.range(0); in BM_atomic_wait_one_thread_one_atomic_wait() local
31 for (std::uint64_t i = 0; i < total_loop_test_param; ++i) { in BM_atomic_wait_one_thread_one_atomic_wait()
48 std::uint64_t total_loop_test_param = state.range(0); in BM_atomic_wait_multi_thread_one_atomic_wait() local
57 …auto wait_func = [&a, &start_flag, &done_count, total_loop_test_param](std:… in BM_atomic_wait_multi_thread_one_atomic_wait()
62 for (std::uint64_t i = 0; i < total_loop_test_param; ++i) { in BM_atomic_wait_multi_thread_one_atomic_wait()
94 const std::uint64_t total_loop_test_param = state.range(0); in BM_atomic_wait_multi_thread_wait_different_atomics() local
108 auto wait_func = [&, total_loop_test_param](std::stop_token st, size_t idx) { in BM_atomic_wait_multi_thread_wait_different_atomics()
113 for (std::uint64_t i = 0; i < total_loop_test_param; ++i) { in BM_atomic_wait_multi_thread_wait_different_atomics()
H A Dstop_token.bench.cpp28 std::uint64_t total_loop_test_param = state.range(0); in BM_stop_token_single_thread_polling_stop_requested() local
35 while (loop_count.load(std::memory_order_relaxed) - start_total < total_loop_test_param) { in BM_stop_token_single_thread_polling_stop_requested()
57 std::uint64_t total_loop_test_param = state.range(0); in BM_stop_token_multi_thread_polling_stop_requested() local
82 while (get_total_loop() - start_total < total_loop_test_param) { in BM_stop_token_multi_thread_polling_stop_requested()
H A Datomic_wait_vs_mutex_lock.bench.cpp54 std::uint64_t total_loop_test_param = state.range(0); in test_multi_thread_lock_unlock() local
64 auto func = [&start_flag, &done_count, &lock_state, total_loop_test_param](std::stop_token st) { in test_multi_thread_lock_unlock()
71 for (std::uint64_t i = 0; i < total_loop_test_param; ++i) { in test_multi_thread_lock_unlock()