Searched refs:test_loc (Results 1 – 1 of 1) sorted by relevance
42 std::atomic<int> test_loc(0); variable58 result += test_loc.load(std::memory_order_relaxed); in BM_atomic_load_relaxed()68 result += test_loc.load(std::memory_order_acquire); in BM_atomic_load_acquire()78 test_loc.store(++i, std::memory_order_release); in BM_atomic_store_release()87 test_loc.store(++i, std::memory_order_seq_cst); in BM_atomic_store_seq_cst()96 result += test_loc.fetch_add(1, std::memory_order_relaxed); in BM_atomic_fetch_add_relaxed()106 result += test_loc.fetch_add(1, std::memory_order_seq_cst); in BM_atomic_fetch_add_seq_cst()119 result += test_loc.load(std::memory_order_relaxed); in BM_atomic_acquire_fence()130 result += test_loc.load(std::memory_order_relaxed); in BM_atomic_seq_cst_fence()