From 8b54858831292661d17f5dd60d9e7672e22fef73 Mon Sep 17 00:00:00 2001 From: Korey Sewell Date: Sun, 19 Jun 2011 21:43:34 -0400 Subject: inorder: register file stats keep stats for int/float reg file usage instead of aggregating across reg file types --- src/cpu/inorder/resources/use_def.hh | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'src/cpu/inorder/resources/use_def.hh') diff --git a/src/cpu/inorder/resources/use_def.hh b/src/cpu/inorder/resources/use_def.hh index ef33395a0..4c3eceef8 100644 --- a/src/cpu/inorder/resources/use_def.hh +++ b/src/cpu/inorder/resources/use_def.hh @@ -106,17 +106,26 @@ class UseDefUnit : public Resource { }; protected: - /** Register File Reads */ - Stats::Scalar regFileReads; + /** Int. Register File Reads */ + Stats::Scalar intRegFileReads; - /** Register File Writes */ - Stats::Scalar regFileWrites; + /** Int. Register File Writes */ + Stats::Scalar intRegFileWrites; + + /** Int. Register File Total Accesses (Read+Write) */ + Stats::Formula intRegFileAccs; + + /** Float Register File Reads */ + Stats::Scalar floatRegFileReads; + + /** Float Register File Writes */ + Stats::Scalar floatRegFileWrites; + + /** Float Register File Total Accesses (Read+Write) */ + Stats::Formula floatRegFileAccs; /** Source Register Forwarding */ Stats::Scalar regForwards; - - /** Register File Total Accesses (Read+Write) */ - Stats::Formula regFileAccs; }; #endif //__CPU_INORDER_USE_DEF_UNIT_HH__ -- cgit v1.2.3