diff options
Diffstat (limited to 'src/cpu/minor/fetch2.hh')
-rw-r--r-- | src/cpu/minor/fetch2.hh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cpu/minor/fetch2.hh b/src/cpu/minor/fetch2.hh index 33c683b82..c66fbd8dc 100644 --- a/src/cpu/minor/fetch2.hh +++ b/src/cpu/minor/fetch2.hh @@ -165,6 +165,13 @@ class Fetch2 : public Named std::vector<Fetch2ThreadInfo> fetchInfo; ThreadID threadPriority; + /** Stats */ + Stats::Scalar intInstructions; + Stats::Scalar fpInstructions; + Stats::Scalar vecInstructions; + Stats::Scalar loadInstructions; + Stats::Scalar storeInstructions; + protected: /** Get a piece of data to work on from the inputBuffer, or 0 if there * is no data. */ @@ -206,6 +213,8 @@ class Fetch2 : public Named void minorTrace() const; + void regStats(); + /** Is this stage drained? For Fetch2, draining is initiated by * Execute halting Fetch1 causing Fetch2 to naturally drain. * Branch predictions are ignored by Fetch1 during halt */ |