Made perf counter changes

Interlocked here too