From: Nilay Vaish Date: Mon, 11 Feb 2013 03:26:25 +0000 (-0600) Subject: ruby: Replace Time with Cycles in SequencerMessage X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=89f86dbd282066595f90a2163140b347f84aee44;p=gem5.git ruby: Replace Time with Cycles in SequencerMessage --- 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) {} };