systemc: Implement a little more of sc_time.
authorGabe Black <gabeblack@google.com>
Thu, 16 Aug 2018 00:42:52 +0000 (17:42 -0700)
committerGabe Black <gabeblack@google.com>
Thu, 20 Sep 2018 01:48:49 +0000 (01:48 +0000)
commite1e02e91e02da93c7fd95f24a9135f47802e23e8
treed51d33dc76a24f026a3e3b230534b6f6468e0a26
parentf30f30577409073416981004761a85364be1a986
systemc: Implement a little more of sc_time.

This change implements a pair of constructors, and some conversion
functions.

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