ruby: Replace Time with Cycles in SequencerMessage
authorNilay Vaish <nilay@cs.wisc.edu>
Mon, 11 Feb 2013 03:26:25 +0000 (21:26 -0600)
committerNilay Vaish <nilay@cs.wisc.edu>
Mon, 11 Feb 2013 03:26:25 +0000 (21:26 -0600)
src/mem/ruby/system/Sequencer.cc
src/mem/ruby/system/Sequencer.hh

index d4cfe77b112c36872c176134fe593121a991c13b..3481369bb20b69f7fc5e8ef8f0581f224ed16549 100644 (file)
@@ -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;
index cc63a93a485c6f5b2089a78b15035a8a3017657e..3fccd256602057e267b30c4016898481bc7dcbb4 100644 (file)
@@ -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)
     {}
 };