systemc: Implement the sc_time_tuple class.
authorGabe Black <gabeblack@google.com>
Thu, 27 Sep 2018 05:53:01 +0000 (22:53 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 16 Oct 2018 00:37:33 +0000 (00:37 +0000)
commit07cad60bb0865d95cfe4c5ce2ea08d7c8d33f34f
tree4a45af24df5a39f7cbfa478ed1b2dc87366b21cb
parent1fe271c71ac43d7ac8ed5980ac3887e77f4671b4
systemc: Implement the sc_time_tuple class.

This class is non-standard and is an implementation detail in
Accellera's implementation, but is referred to directly by the tests.
It does the same thing as the time printing function, so rather than
having duplicate code the printing function now uses the sc_time_tuple
class even though it was doing fine on its own already.

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