gem5 v24.0.0.0
|
#include <OutVcState.hh>
Public Member Functions | |
OutVcState (int id, GarnetNetwork *network_ptr, uint32_t consumerVcs) | |
int | get_credit_count () |
bool | has_credit () |
void | increment_credit () |
void | decrement_credit () |
bool | isInState (VC_state_type state, Tick request_time) |
void | setState (VC_state_type state, Tick time) |
Private Attributes | |
int | m_id |
Tick | m_time |
VC_state_type | m_vc_state |
int | m_credit_count |
int | m_max_credit_count |
Definition at line 46 of file OutVcState.hh.
gem5::ruby::garnet::OutVcState::OutVcState | ( | int | id, |
GarnetNetwork * | network_ptr, | ||
uint32_t | consumerVcs ) |
Definition at line 44 of file OutVcState.cc.
References gem5::ruby::garnet::DATA_VNET_, gem5::ruby::garnet::GarnetNetwork::get_vnet_type(), gem5::ruby::garnet::GarnetNetwork::getBuffersPerCtrlVC(), gem5::ruby::garnet::GarnetNetwork::getBuffersPerDataVC(), gem5::ArmISA::id, gem5::ruby::garnet::IDLE_, m_credit_count, m_id, m_max_credit_count, and m_vc_state.
void gem5::ruby::garnet::OutVcState::decrement_credit | ( | ) |
Definition at line 74 of file OutVcState.cc.
References m_credit_count.
|
inline |
Definition at line 51 of file OutVcState.hh.
References m_credit_count.
|
inline |
Definition at line 52 of file OutVcState.hh.
References m_credit_count.
void gem5::ruby::garnet::OutVcState::increment_credit | ( | ) |
Definition at line 67 of file OutVcState.cc.
References m_credit_count, and m_max_credit_count.
|
inline |
Definition at line 57 of file OutVcState.hh.
References m_time, m_vc_state, and state.
|
inline |
Definition at line 62 of file OutVcState.hh.
References m_time, m_vc_state, and state.
|
private |
Definition at line 72 of file OutVcState.hh.
Referenced by decrement_credit(), get_credit_count(), has_credit(), increment_credit(), and OutVcState().
|
private |
Definition at line 69 of file OutVcState.hh.
Referenced by OutVcState().
|
private |
Definition at line 73 of file OutVcState.hh.
Referenced by increment_credit(), and OutVcState().
|
private |
Definition at line 70 of file OutVcState.hh.
Referenced by isInState(), and setState().
|
private |
Definition at line 71 of file OutVcState.hh.
Referenced by isInState(), OutVcState(), and setState().