Made perf counter changes (WIP)

Can also mark this field `readonly`.