diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2013-01-28 06:14:18 -0600 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2013-01-28 06:14:18 -0600 |
commit | a8eb5b18e06c1304ac0bc7e5929c57a1cfaacda1 (patch) | |
tree | dc3ed04d39c3a64ec8cd13cf6f6a0cab795b5af4 /src/mem/ruby/slicc_interface | |
parent | 31659e83fbf6fa2b9024908cdba428145ef1fade (diff) | |
download | gem5-a8eb5b18e06c1304ac0bc7e5929c57a1cfaacda1.tar.xz |
ruby: remove get_time()
This patch replaces get_time() in *.sm files with curCycle() which
is now possible since controllers are clocked objects.
Diffstat (limited to 'src/mem/ruby/slicc_interface')
-rw-r--r-- | src/mem/ruby/slicc_interface/RubySlicc_Util.hh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mem/ruby/slicc_interface/RubySlicc_Util.hh b/src/mem/ruby/slicc_interface/RubySlicc_Util.hh index 178c4cd1e..f55b6eae4 100644 --- a/src/mem/ruby/slicc_interface/RubySlicc_Util.hh +++ b/src/mem/ruby/slicc_interface/RubySlicc_Util.hh @@ -48,12 +48,6 @@ random(int n) } inline Time -get_time() -{ - return g_system_ptr->getTime(); -} - -inline Time zero_time() { return 0; |