summaryrefslogtreecommitdiff
path: root/src/cpu/cpuevent.cc
diff options
context:
space:
mode:
authorLena Olson <lena@cs.wisc,edu>2013-08-19 03:52:35 -0400
committerLena Olson <lena@cs.wisc,edu>2013-08-19 03:52:35 -0400
commit646c4a23ca44aab5468c896034288151c89be782 (patch)
treee63c57a515669a9c7c24b39b8cfcf39804d00276 /src/cpu/cpuevent.cc
parentc26911013c799d63dfe854de8cce11137324cde2 (diff)
downloadgem5-646c4a23ca44aab5468c896034288151c89be782.tar.xz
cpu: Accurately count idle cycles for simple cpu
Added a couple missing updates to the notIdleFraction stat. Without these, it sometimes gives a (not) idle fraction that is greater than 1 or less than 0.
Diffstat (limited to 'src/cpu/cpuevent.cc')
0 files changed, 0 insertions, 0 deletions