summaryrefslogtreecommitdiff
path: root/src/systemc/ext/core/sc_time.hh
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-06-15 20:16:48 -0700
committerGabe Black <gabeblack@google.com>2018-08-28 21:16:56 +0000
commit663f5f6976e7d6732399409fc9cb0b1fcefe586d (patch)
treefde6cce3e9472867596ae504a154e5729df68836 /src/systemc/ext/core/sc_time.hh
parenteba0ab506bfa33e7810163bc255d0af4a14ac8db (diff)
downloadgem5-663f5f6976e7d6732399409fc9cb0b1fcefe586d.tar.xz
systemc: Add some deprecated sc_time factory methods.
Change-Id: I0d9a7040a48b9f0d0079e9daecaf44ea78c186de Reviewed-on: https://gem5-review.googlesource.com/11273 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/ext/core/sc_time.hh')
-rw-r--r--src/systemc/ext/core/sc_time.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/systemc/ext/core/sc_time.hh b/src/systemc/ext/core/sc_time.hh
index 32f7eadda..d52ed8112 100644
--- a/src/systemc/ext/core/sc_time.hh
+++ b/src/systemc/ext/core/sc_time.hh
@@ -75,6 +75,11 @@ class sc_time
sc_time &operator /= (double);
void print(std::ostream & =std::cout) const;
+
+ // Deprecated
+ static sc_time from_value(sc_dt::uint64);
+ static sc_time from_seconds(double);
+ static sc_time from_string(const char *str);
};
const sc_time operator + (const sc_time &, const sc_time &);