Lines Matching refs:result
58 unsigned result = 0; in BM_atomic_load_relaxed() local
60 result += test_loc.load(std::memory_order_relaxed); in BM_atomic_load_relaxed()
63 sink = result; in BM_atomic_load_relaxed()
68 unsigned result = 0; in BM_atomic_load_acquire() local
70 result += test_loc.load(std::memory_order_acquire); in BM_atomic_load_acquire()
73 sink = result; in BM_atomic_load_acquire()
96 unsigned result = 0; in BM_atomic_fetch_add_relaxed() local
98 result += test_loc.fetch_add(1, std::memory_order_relaxed); in BM_atomic_fetch_add_relaxed()
101 sink = result; in BM_atomic_fetch_add_relaxed()
106 unsigned result = 0; in BM_atomic_fetch_add_seq_cst() local
108 result += test_loc.fetch_add(1, std::memory_order_seq_cst); in BM_atomic_fetch_add_seq_cst()
111 sink = result; in BM_atomic_fetch_add_seq_cst()
119 unsigned result = 0; in BM_atomic_acquire_fence() local
121 result += test_loc.load(std::memory_order_relaxed); in BM_atomic_acquire_fence()
125 sink = result; in BM_atomic_acquire_fence()
130 unsigned result = 0; in BM_atomic_seq_cst_fence() local
132 result += test_loc.load(std::memory_order_relaxed); in BM_atomic_seq_cst_fence()
136 sink = result; in BM_atomic_seq_cst_fence()
143 unsigned result = 0; in BM_atomic_fetch_add_cs() local
148 result += counter; in BM_atomic_fetch_add_cs()
151 sink = result; in BM_atomic_fetch_add_cs()