summaryrefslogtreecommitdiff
path: root/src/sim/eventq.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/eventq.hh')
-rw-r--r--src/sim/eventq.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sim/eventq.hh b/src/sim/eventq.hh
index 9b3cd9917..eaefdb2e2 100644
--- a/src/sim/eventq.hh
+++ b/src/sim/eventq.hh
@@ -144,6 +144,10 @@ class EventBase
/// Default is zero for historical reasons.
static const Priority Default_Pri = 0;
+ /// DVFS update event leads to stats dump therefore given a lower priority
+ /// to ensure all relevant states have been updated
+ static const Priority DVFS_Update_Pri = 31;
+
/// Serailization needs to occur before tick events also, so
/// that a serialize/unserialize is identical to an on-line
/// CPU switch.