diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2013-02-10 21:43:09 -0600 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2013-02-10 21:43:09 -0600 |
commit | f6e3ab7bd4d6c27fd400c718bfe225b09a3b486b (patch) | |
tree | 2caf127834234cf6e6bcaef279f179d08ce385da /src/mem/ruby/network/garnet/flexible-pipeline/InVcState.cc | |
parent | 9d6d6c67180533464fc839a8a6da182226cb3ee2 (diff) | |
download | gem5-f6e3ab7bd4d6c27fd400c718bfe225b09a3b486b.tar.xz |
ruby: replace Time with Cycles in garnet fixed and flexible
Diffstat (limited to 'src/mem/ruby/network/garnet/flexible-pipeline/InVcState.cc')
-rw-r--r-- | src/mem/ruby/network/garnet/flexible-pipeline/InVcState.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mem/ruby/network/garnet/flexible-pipeline/InVcState.cc b/src/mem/ruby/network/garnet/flexible-pipeline/InVcState.cc index d688dc1fd..dc2d3f24a 100644 --- a/src/mem/ruby/network/garnet/flexible-pipeline/InVcState.cc +++ b/src/mem/ruby/network/garnet/flexible-pipeline/InVcState.cc @@ -37,7 +37,7 @@ InVcState::InVcState(int id) } bool -InVcState::isInState(VC_state_type state, Time request_time) +InVcState::isInState(VC_state_type state, Cycles request_time) { return ((m_vc_state == state) && (request_time >= m_time) ); } @@ -49,14 +49,14 @@ InVcState::setRoute(int route) } void -InVcState::setState(VC_state_type state, Time time) +InVcState::setState(VC_state_type state, Cycles time) { m_vc_state = state; m_time = time; } void -InVcState::grant_vc(int out_vc, Time grant_time) +InVcState::grant_vc(int out_vc, Cycles grant_time) { m_vc_state = ACTIVE_; m_time = grant_time; |