summaryrefslogtreecommitdiff
path: root/cpu/ozone/front_end.hh
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/ozone/front_end.hh')
-rw-r--r--cpu/ozone/front_end.hh13
1 files changed, 13 insertions, 0 deletions
diff --git a/cpu/ozone/front_end.hh b/cpu/ozone/front_end.hh
index 2bff2544d..188925ae5 100644
--- a/cpu/ozone/front_end.hh
+++ b/cpu/ozone/front_end.hh
@@ -66,6 +66,14 @@ class FrontEnd
bool isEmpty() { return instBuffer.empty(); }
+ void switchOut();
+
+ void takeOverFrom(ExecContext *old_xc = NULL);
+
+ bool isSwitchedOut() { return switchedOut; }
+
+ bool switchedOut;
+
private:
bool updateStatus();
@@ -198,6 +206,9 @@ class FrontEnd
DynInstPtr barrierInst;
+ public:
+ bool interruptPending;
+ private:
// number of idle cycles
/*
Stats::Average<> notIdleFraction;
@@ -223,6 +234,8 @@ class FrontEnd
Stats::Scalar<> fetchBlockedCycles;
/** Stat for total number of fetched cache lines. */
Stats::Scalar<> fetchedCacheLines;
+
+ Stats::Scalar<> fetchIcacheSquashes;
/** Distribution of number of instructions fetched each cycle. */
Stats::Distribution<> fetchNisnDist;
// Stats::Vector<> qfull_iq_occupancy;