Fixed a race in displaying perf time. Also changed to displaying average time over past few cycles.
Fixed a race in displaying perf time. Also changed to displaying average time over past few cycles.

ljw1004/blog,ljw1004/blog,ljw1004/blog,ljw1004/blog