95a96
> ldstQueue.regStats();
141,154d141
< iewExecutedInsts
< .name(name() + ".iewExecutedInsts")
< .desc("Number of executed instructions");
<
< iewExecLoadInsts
< .init(cpu->number_of_threads)
< .name(name() + ".iewExecLoadInsts")
< .desc("Number of load instructions executed")
< .flags(total);
<
< iewExecSquashedInsts
< .name(name() + ".iewExecSquashedInsts")
< .desc("Number of squashed instructions skipped in execute");
<
173c160,164
< exeSwp
---
> iewExecutedInsts
> .name(name() + ".EXEC:insts")
> .desc("Number of executed instructions");
>
> iewExecLoadInsts
174a166,175
> .name(name() + ".EXEC:loads")
> .desc("Number of load instructions executed")
> .flags(total);
>
> iewExecSquashedInsts
> .name(name() + ".EXEC:squashedInsts")
> .desc("Number of squashed instructions skipped in execute");
>
> iewExecutedSwp
> .init(cpu->number_of_threads)
177,178c178
< .flags(total)
< ;
---
> .flags(total);
180c180
< exeNop
---
> iewExecutedNop
184,185c184
< .flags(total)
< ;
---
> .flags(total);
187c186
< exeRefs
---
> iewExecutedRefs
191,192c190
< .flags(total)
< ;
---
> .flags(total);
194c192
< exeBranches
---
> iewExecutedBranches
198,199c196
< .flags(total)
< ;
---
> .flags(total);
201,207d197
< issueRate
< .name(name() + ".EXEC:rate")
< .desc("Inst execution rate")
< .flags(total)
< ;
< issueRate = iewExecutedInsts / cpu->numCycles;
<
211,223c201,202
< .flags(total)
< ;
< iewExecStoreInsts = exeRefs - iewExecLoadInsts;
< /*
< for (int i=0; i<Num_OpClasses; ++i) {
< stringstream subname;
< subname << opClassStrings[i] << "_delay";
< issue_delay_dist.subname(i, subname.str());
< }
< */
< //
< // Other stats
< //
---
> .flags(total);
> iewExecStoreInsts = iewExecutedRefs - iewExecLoadInsts;
224a204,210
> iewExecRate
> .name(name() + ".EXEC:rate")
> .desc("Inst execution rate")
> .flags(total);
>
> iewExecRate = iewExecutedInsts / cpu->numCycles;
>
229,230c215
< .flags(total)
< ;
---
> .flags(total);
236,237c221
< .flags(total)
< ;
---
> .flags(total);
243,244c227
< .flags(total)
< ;
---
> .flags(total);
250,251c233
< .flags(total)
< ;
---
> .flags(total);
257,258c239
< .flags(total)
< ;
---
> .flags(total);
263,264c244
< .flags(total)
< ;
---
> .flags(total);
271,272c251
< .flags(total)
< ;
---
> .flags(total);
279,280c258
< .flags(total)
< ;
---
> .flags(total);
1101c1079
< exeNop[tid]++;
---
> iewExecutedNop[tid]++;
1512c1490
< exeSwp[thread_number]++;
---
> iewExecutedSwp[thread_number]++;
1514c1492
< iewExecutedInsts++;
---
> iewIewExecutedcutedInsts++;
1523c1501
< exeBranches[thread_number]++;
---
> iewExecutedBranches[thread_number]++;
1529c1507
< exeRefs[thread_number]++;
---
> iewExecutedRefs[thread_number]++;