Perf counter testing