correcting error in perf counter calculation ... not spin lock related, but quick