systemc: Remove a hack which scaled sc_time into ps unnecessarily.

sc_time is now represented in whatever the underlying time resolution
is which isn't necessarily ps. Stop trying to scale it (incorrectly).

Change-Id: I18975e0ab01386b24196666e0ba02d1b36e11735
Reviewed-on: https://gem5-review.googlesource.com/c/12976
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
This commit is contained in:
Gabe Black
2018-09-22 08:32:55 -07:00
parent b58f56bf7f
commit 028e1c56b6

View File

@@ -218,8 +218,7 @@ class Scheduler
Tick
delayed(const ::sc_core::sc_time &delay)
{
//XXX We're assuming the systemc time resolution is in ps.
return getCurTick() + delay.value() * SimClock::Int::ps;
return getCurTick() + delay.value();
}
// For scheduling delayed/timed notifications/timeouts.