- case ATOMIC_WRITE:
- atomic_store_count++;
- break;
- case ATOMIC_RMW:
- atomic_load_count++;
- break;
- case ATOMIC_READ:
- atomic_rmw_count++;
- break;
- case ATOMIC_FENCE:
- atomic_fence_count++;
- break;
- case ATOMIC_LOCK:
- atomic_lock_count++;
- break;
- case ATOMIC_TRYLOCK:
- atomic_trylock_count++;
- break;
- case ATOMIC_UNLOCK:
- atomic_unlock_count++;
- break;
- case ATOMIC_NOTIFY_ONE:
- case ATOMIC_NOTIFY_ALL:
- atomic_notify_count++;
- break;
- case ATOMIC_WAIT:
- atomic_wait_count++;
- break;
- case ATOMIC_TIMEDWAIT:
- atomic_timedwait_count++;
- default:
- return;
+ case ATOMIC_WRITE:
+ atomic_store_count++;
+ break;
+ case ATOMIC_RMW:
+ atomic_load_count++;
+ break;
+ case ATOMIC_READ:
+ atomic_rmw_count++;
+ break;
+ case ATOMIC_FENCE:
+ atomic_fence_count++;
+ break;
+ case ATOMIC_LOCK:
+ atomic_lock_count++;
+ break;
+ case ATOMIC_TRYLOCK:
+ atomic_trylock_count++;
+ break;
+ case ATOMIC_UNLOCK:
+ atomic_unlock_count++;
+ break;
+ case ATOMIC_NOTIFY_ONE:
+ case ATOMIC_NOTIFY_ALL:
+ atomic_notify_count++;
+ break;
+ case ATOMIC_WAIT:
+ atomic_wait_count++;
+ break;
+ case ATOMIC_TIMEDWAIT:
+ atomic_timedwait_count++;
+ default:
+ return;