From 89f86dbd282066595f90a2163140b347f84aee44 Mon Sep 17 00:00:00 2001
From: Nilay Vaish <nilay@cs.wisc.edu>
Date: Sun, 10 Feb 2013 21:26:25 -0600
Subject: ruby: Replace Time with Cycles in SequencerMessage

---
 src/mem/ruby/system/Sequencer.cc | 2 +-
 src/mem/ruby/system/Sequencer.hh | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/mem/ruby/system/Sequencer.cc b/src/mem/ruby/system/Sequencer.cc
index d4cfe77b1..3481369bb 100644
--- a/src/mem/ruby/system/Sequencer.cc
+++ b/src/mem/ruby/system/Sequencer.cc
@@ -88,7 +88,7 @@ Sequencer::wakeup()
     assert(getDrainState() != Drainable::Draining);
 
     // Check for deadlock of any of the requests
-    Time current_time = curCycle();
+    Cycles current_time = curCycle();
 
     // Check across all outstanding requests
     int total_outstanding = 0;
diff --git a/src/mem/ruby/system/Sequencer.hh b/src/mem/ruby/system/Sequencer.hh
index cc63a93a4..3fccd2566 100644
--- a/src/mem/ruby/system/Sequencer.hh
+++ b/src/mem/ruby/system/Sequencer.hh
@@ -46,9 +46,10 @@ struct SequencerRequest
 {
     PacketPtr pkt;
     RubyRequestType m_type;
-    Time issue_time;
+    Cycles issue_time;
 
-    SequencerRequest(PacketPtr _pkt, RubyRequestType _m_type, Time _issue_time)
+    SequencerRequest(PacketPtr _pkt, RubyRequestType _m_type,
+                     Cycles _issue_time)
         : pkt(_pkt), m_type(_m_type), issue_time(_issue_time)
     {}
 };
-- 
cgit v1.2.3