Lines Matching refs:counter
40 static volatile unsigned counter; variable
50 ++counter; in BM_atomic_empty()
59 ++counter; in BM_atomic_load_relaxed()
69 ++counter; in BM_atomic_load_acquire()
76 int i = counter; in BM_atomic_store_release()
79 ++counter; in BM_atomic_store_release()
85 int i = counter; in BM_atomic_store_seq_cst()
88 ++counter; in BM_atomic_store_seq_cst()
97 ++counter; in BM_atomic_fetch_add_relaxed()
107 ++counter; in BM_atomic_fetch_add_seq_cst()
121 ++counter; in BM_atomic_acquire_fence()
132 ++counter; in BM_atomic_seq_cst_fence()
145 result += ++counter; in BM_atomic_fetch_add_cs()