Skip to content

Resetting stats #338

Answered by klingaard
quasiquote1 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes... and no. 😃

How are you getting statistical reports from the simulator? Are you using the end-of-simulation stats (auto-summary)? If so, you can't "reset" those stats.

But you can generate a statistical report that "starts" after your warmup period has elapsed. This is only supported using the

--report DEF_FILE | PATTERN DEF_FILE DEST [FORMAT]

command line option.

Using this option, you can create customized reports, in different formats using a custom definition file.

As an example of what you want to do... let's say you're running the sparta_core_example and you want to start a report after 100 instructions have elapsed (a warmup). First, create the report definition file:

% cat >…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by klingaard
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants