systemc: Simplify sc_time_stamp().
authorGabe Black <gabeblack@google.com>
Sat, 22 Sep 2018 15:05:16 +0000 (08:05 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 16 Oct 2018 00:31:55 +0000 (00:31 +0000)
commit9c56d8adfe5c1f9cb28842a0b9f83873db1ab22f
tree658b6e5cec5b5d2fa49921ee94cb4c2a19857a63
parent7fa683ada5cb84ac9f5c20e82e642b14161ffedb
systemc: Simplify sc_time_stamp().

sc_time is now inherently based on properly scaled Ticks, so there's no
reason to try to scale it to be in picoseconds, especially since the
scaling factor may be unreliable if the timescale hasn't been fixed
yet.

Change-Id: I28baeb9792e81e1d00f6f37672df435766311864
Reviewed-on: https://gem5-review.googlesource.com/c/12974
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/sc_main.cc