summaryrefslogtreecommitdiff
path: root/src/mem/ruby/slicc_interface
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2013-01-28 06:14:18 -0600
committerNilay Vaish <nilay@cs.wisc.edu>2013-01-28 06:14:18 -0600
commita8eb5b18e06c1304ac0bc7e5929c57a1cfaacda1 (patch)
treedc3ed04d39c3a64ec8cd13cf6f6a0cab795b5af4 /src/mem/ruby/slicc_interface
parent31659e83fbf6fa2b9024908cdba428145ef1fade (diff)
downloadgem5-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.hh6
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;