systemc: Stop assuming picoseconds as the time resolution.
authorGabe Black <gabeblack@google.com>
Tue, 11 Sep 2018 03:37:19 +0000 (20:37 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 9 Oct 2018 21:45:22 +0000 (21:45 +0000)
commitc8d3cb5fadfac8ad90fd81edc707d83051b275da
tree206ab2853735a725e9da5ac53955ff7290d4334a
parent86d82dff58d631318161127b67d5689bb44f76cf
systemc: Stop assuming picoseconds as the time resolution.

Also adjust some code to avoid floating point rounding problems and
integer overflow issues.

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