gem5  v22.0.0.1
Public Member Functions | Private Attributes | List of all members
gem5::ruby::garnet::Credit Class Reference

#include <Credit.hh>

Inheritance diagram for gem5::ruby::garnet::Credit:
gem5::ruby::garnet::flit

Public Member Functions

 Credit ()
 
 Credit (int vc, bool is_free_signal, Tick curTime)
 
flitserialize (int ser_id, int parts, uint32_t bWidth)
 
flitdeserialize (int des_id, int num_flits, uint32_t bWidth)
 
void print (std::ostream &out) const
 
 ~Credit ()
 
bool is_free_signal ()
 
- Public Member Functions inherited from gem5::ruby::garnet::flit
 flit ()
 
 flit (int packet_id, int id, int vc, int vnet, RouteInfo route, int size, MsgPtr msg_ptr, int MsgSize, uint32_t bWidth, Tick curTime)
 
virtual ~flit ()
 
int get_outport ()
 
int get_size ()
 
Tick get_enqueue_time ()
 
Tick get_dequeue_time ()
 
int getPacketID ()
 
int get_id ()
 
Tick get_time ()
 
int get_vnet ()
 
int get_vc ()
 
RouteInfo get_route ()
 
MsgPtrget_msg_ptr ()
 
flit_type get_type ()
 
std::pair< flit_stage, Tickget_stage ()
 
Tick get_src_delay ()
 
void set_outport (int port)
 
void set_time (Tick time)
 
void set_vc (int vc)
 
void set_route (RouteInfo route)
 
void set_src_delay (Tick delay)
 
void set_dequeue_time (Tick time)
 
void set_enqueue_time (Tick time)
 
void increment_hops ()
 
bool is_stage (flit_stage stage, Tick time)
 
void advance_stage (flit_stage t_stage, Tick newTime)
 
bool functionalWrite (Packet *pkt)
 

Private Attributes

bool m_is_free_signal
 

Additional Inherited Members

- Static Public Member Functions inherited from gem5::ruby::garnet::flit
static bool greater (flit *n1, flit *n2)
 
- Public Attributes inherited from gem5::ruby::garnet::flit
uint32_t m_width
 
int msgSize
 
- Protected Attributes inherited from gem5::ruby::garnet::flit
int m_packet_id
 
int m_id
 
int m_vnet
 
int m_vc
 
RouteInfo m_route
 
int m_size
 
Tick m_enqueue_time
 
Tick m_dequeue_time
 
Tick m_time
 
flit_type m_type
 
MsgPtr m_msg_ptr
 
int m_outport
 
Tick src_delay
 
std::pair< flit_stage, Tickm_stage
 

Detailed Description

Definition at line 54 of file Credit.hh.

Constructor & Destructor Documentation

◆ Credit() [1/2]

gem5::ruby::garnet::Credit::Credit ( )
inline

Definition at line 57 of file Credit.hh.

Referenced by deserialize(), and serialize().

◆ Credit() [2/2]

gem5::ruby::garnet::Credit::Credit ( int  vc,
bool  is_free_signal,
Tick  curTime 
)

◆ ~Credit()

gem5::ruby::garnet::Credit::~Credit ( )
inline

Definition at line 65 of file Credit.hh.

Member Function Documentation

◆ deserialize()

flit * gem5::ruby::garnet::Credit::deserialize ( int  des_id,
int  num_flits,
uint32_t  bWidth 
)
virtual

◆ is_free_signal()

bool gem5::ruby::garnet::Credit::is_free_signal ( )
inline

◆ print()

void gem5::ruby::garnet::Credit::print ( std::ostream &  out) const
virtual

◆ serialize()

flit * gem5::ruby::garnet::Credit::serialize ( int  ser_id,
int  parts,
uint32_t  bWidth 
)
virtual

Member Data Documentation

◆ m_is_free_signal

bool gem5::ruby::garnet::Credit::m_is_free_signal
private

Definition at line 70 of file Credit.hh.

Referenced by Credit(), deserialize(), is_free_signal(), print(), and serialize().


The documentation for this class was generated from the following files:

Generated on Sat Jun 18 2022 08:14:34 for gem5 by doxygen 1.8.17