diff options
author | Gabe Black <gabeblack@google.com> | 2018-06-15 20:00:36 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-08-22 01:08:38 +0000 |
commit | 200281b08ca21f0d2678e23063f088960d3c0819 (patch) | |
tree | 3b0826818cdefc3619e186fc26dd6efd12fbcdc5 /src/systemc/core | |
parent | 9e35fe2e775ebc47d39a057822547034e9cd09a7 (diff) | |
download | gem5-200281b08ca21f0d2678e23063f088960d3c0819.tar.xz |
systemc: Add deprecated default time unit management functions.
Having default time units is deprecated, and so are the functions that
manage them.
Change-Id: Ie21f9a5fca9868dd4f0adcd9f32c568fbec1fa72
Reviewed-on: https://gem5-review.googlesource.com/11270
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/core')
-rw-r--r-- | src/systemc/core/sc_time.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/systemc/core/sc_time.cc b/src/systemc/core/sc_time.cc index 022895733..383d1d4ad 100644 --- a/src/systemc/core/sc_time.cc +++ b/src/systemc/core/sc_time.cc @@ -229,4 +229,17 @@ sc_max_time() return *(const sc_time *)nullptr; } +void +sc_set_default_time_unit(double, sc_time_unit) +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); +} + +sc_time +sc_get_default_time_unit() +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); + return *(sc_time *)nullptr; +} + } // namespace sc_core |