gem5-dev@gem5.org

The gem5 Developer List

View all threads

Changes to stats output

MJ
Melissa Jost
Mon, May 8, 2023 11:25 PM

Hello,

I have submitted a changeset to gem5 that will alter the way stats output
at the end of the simulation.  These changes unify stats with similar names
from different CPUs, such as insts in the O3 CPU versus numInsts in the
Simple CPU. It also moves some stats that are only located in specific CPUs
into a more general Base CPU output if they could be beneficial to output
for all CPUs, such as cpi and ipc from the Minor CPU.  These
general-purpose stats are moved into the BaseCPU object through stat group
structs FetchCPUStats, ExecuteCPUStats, and CommitCPUStats.  To view more
specifics on these changes, and how they'll affect how you read stats from
gem5, visit the Jira Issue https://gem5.atlassian.net/browse/GEM5-1304
for these changes, which contains comparisons of these changes, as well as
example mappings of old stat names to new ones.

Best,
Melissa Jost

Hello, I have submitted a changeset to gem5 that will alter the way stats output at the end of the simulation. These changes unify stats with similar names from different CPUs, such as insts in the O3 CPU versus numInsts in the Simple CPU. It also moves some stats that are only located in specific CPUs into a more general Base CPU output if they could be beneficial to output for all CPUs, such as cpi and ipc from the Minor CPU. These general-purpose stats are moved into the BaseCPU object through stat group structs FetchCPUStats, ExecuteCPUStats, and CommitCPUStats. To view more specifics on these changes, and how they'll affect how you read stats from gem5, visit the Jira Issue <https://gem5.atlassian.net/browse/GEM5-1304> for these changes, which contains comparisons of these changes, as well as example mappings of old stat names to new ones. Best, Melissa Jost