use Atomic variables for performance counters