ruby: Replace Time with Cycles in SequencerMessage

This commit is contained in:
Nilay Vaish 2013-02-10 21:26:25 -06:00
parent 7862478eef
commit 89f86dbd28
2 changed files with 4 additions and 3 deletions

View 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;

View 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)
{}
};