diff options
Diffstat (limited to 'src/mem/ruby/common/Consumer.cc')
-rw-r--r-- | src/mem/ruby/common/Consumer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/ruby/common/Consumer.cc b/src/mem/ruby/common/Consumer.cc index a81396217..1f7aeebd5 100644 --- a/src/mem/ruby/common/Consumer.cc +++ b/src/mem/ruby/common/Consumer.cc @@ -51,7 +51,7 @@ Consumer::scheduleEventAbsolute(Time timeAbs) void Consumer::scheduleEventAbsolute(EventManager *em, Time timeAbs) { - Tick evt_time = timeAbs * g_system_ptr->getClock(); + Tick evt_time = g_system_ptr->clockPeriod() * timeAbs; if (!alreadyScheduled(evt_time)) { // This wakeup is not redundant ConsumerEvent *evt = new ConsumerEvent(this); |