Performance counter changes (WIP)

We'll probably want timestamps on each sample.