diff options
Diffstat (limited to 'src/cpu/base.hh')
-rw-r--r-- | src/cpu/base.hh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cpu/base.hh b/src/cpu/base.hh index 7039fcfbc..13c56a945 100644 --- a/src/cpu/base.hh +++ b/src/cpu/base.hh @@ -588,10 +588,13 @@ class BaseCPU : public MemObject bool waitForRemoteGDB() const; Cycles syscallRetryLatency; + // Enables CPU to enter power gating on a configurable cycle count protected: - const Cycles pwrGatingLatency; void enterPwrGating(); + + const Cycles pwrGatingLatency; + const bool powerGatingOnIdle; EventFunctionWrapper enterPwrGatingEvent; }; |