Lines Matching refs:result
56 unsigned result = 0; in BM_atomic_load_relaxed() local
58 result += test_loc.load(std::memory_order_relaxed); in BM_atomic_load_relaxed()
61 sink = result; in BM_atomic_load_relaxed()
66 unsigned result = 0; in BM_atomic_load_acquire() local
68 result += test_loc.load(std::memory_order_acquire); in BM_atomic_load_acquire()
71 sink = result; in BM_atomic_load_acquire()
94 unsigned result = 0; in BM_atomic_fetch_add_relaxed() local
96 result += test_loc.fetch_add(1, std::memory_order_relaxed); in BM_atomic_fetch_add_relaxed()
99 sink = result; in BM_atomic_fetch_add_relaxed()
104 unsigned result = 0; in BM_atomic_fetch_add_seq_cst() local
106 result += test_loc.fetch_add(1, std::memory_order_seq_cst); in BM_atomic_fetch_add_seq_cst()
109 sink = result; in BM_atomic_fetch_add_seq_cst()
117 unsigned result = 0; in BM_atomic_acquire_fence() local
119 result += test_loc.load(std::memory_order_relaxed); in BM_atomic_acquire_fence()
123 sink = result; in BM_atomic_acquire_fence()
128 unsigned result = 0; in BM_atomic_seq_cst_fence() local
130 result += test_loc.load(std::memory_order_relaxed); in BM_atomic_seq_cst_fence()
134 sink = result; in BM_atomic_seq_cst_fence()
141 unsigned result = 0; in BM_atomic_fetch_add_cs() local
145 result += ++counter; in BM_atomic_fetch_add_cs()
148 sink = result; in BM_atomic_fetch_add_cs()