Made perf counter changes