systemc: Handle sc_time_stamp before any sc_time is constructed.
authorGabe Black <gabeblack@google.com>
Thu, 23 Aug 2018 04:35:44 +0000 (21:35 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 25 Sep 2018 23:58:50 +0000 (23:58 +0000)
commitfb8ce429b339016188996d624608c91bb0afda68
tree625493ba579b26e480251ab4a2ec4dd91ceba82f
parent432dcf7b6207007ccf31a47d85b002fef35a7c7b
systemc: Handle sc_time_stamp before any sc_time is constructed.

The time resolution won't yet be fixed, so the scaling factor will
still be set to zero.

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