ruby: Replace Time with Cycles in SequencerMessage
This commit is contained in:
parent
7862478eef
commit
89f86dbd28
|
@ -88,7 +88,7 @@ Sequencer::wakeup()
|
||||||
assert(getDrainState() != Drainable::Draining);
|
assert(getDrainState() != Drainable::Draining);
|
||||||
|
|
||||||
// Check for deadlock of any of the requests
|
// Check for deadlock of any of the requests
|
||||||
Time current_time = curCycle();
|
Cycles current_time = curCycle();
|
||||||
|
|
||||||
// Check across all outstanding requests
|
// Check across all outstanding requests
|
||||||
int total_outstanding = 0;
|
int total_outstanding = 0;
|
||||||
|
|
|
@ -46,9 +46,10 @@ struct SequencerRequest
|
||||||
{
|
{
|
||||||
PacketPtr pkt;
|
PacketPtr pkt;
|
||||||
RubyRequestType m_type;
|
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)
|
: pkt(_pkt), m_type(_m_type), issue_time(_issue_time)
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue