gem5
v20.1.0.0
|
#include <Message.hh>
Public Member Functions | |
Message (Tick curTime) | |
Message (const Message &other) | |
virtual | ~Message () |
virtual MsgPtr | clone () const =0 |
virtual void | print (std::ostream &out) const =0 |
virtual const MessageSizeType & | getMessageSize () const |
virtual MessageSizeType & | getMessageSize () |
virtual bool | functionalRead (Packet *pkt)=0 |
The two functions below are used for reading / writing the message functionally. More... | |
virtual bool | functionalWrite (Packet *pkt)=0 |
void | updateDelayedTicks (Tick curTime) |
Update the delay this message has experienced so far. More... | |
Tick | getDelayedTicks () const |
void | setLastEnqueueTime (const Tick &time) |
Tick | getLastEnqueueTime () const |
Tick | getTime () const |
void | setMsgCounter (uint64_t c) |
uint64_t | getMsgCounter () const |
virtual const NetDest & | getDestination () const |
virtual NetDest & | getDestination () |
int | getIncomingLink () const |
void | setIncomingLink (int link) |
int | getVnet () const |
void | setVnet (int net) |
Private Attributes | |
Tick | m_time |
Tick | m_LastEnqueueTime |
Tick | m_DelayedTicks |
uint64_t | m_msg_counter |
int | incoming_link |
int | vnet |
Definition at line 43 of file Message.hh.
|
inline |
Definition at line 46 of file Message.hh.
|
inline |
Definition at line 52 of file Message.hh.
|
inlinevirtual |
Definition at line 59 of file Message.hh.
|
pure virtual |
Implemented in RubyRequest.
|
pure virtual |
The two functions below are used for reading / writing the message functionally.
The methods return true if the address in the packet matches the address / address range in the message. Each message class that can be potentially searched for the address needs to implement these methods.
Implemented in RubyRequest.
Referenced by MessageBuffer::functionalAccess().
|
pure virtual |
Implemented in RubyRequest.
Referenced by MessageBuffer::functionalAccess(), and flit::functionalWrite().
|
inline |
Definition at line 86 of file Message.hh.
References m_DelayedTicks.
|
inlinevirtual |
Definition at line 98 of file Message.hh.
References panic.
|
inlinevirtual |
Definition at line 96 of file Message.hh.
References panic.
Referenced by NetworkInterface::flitisizeMessage(), network_message_to_size(), and PerfectSwitch::operateMessageBuffer().
|
inline |
Definition at line 101 of file Message.hh.
References incoming_link.
|
inline |
Definition at line 89 of file Message.hh.
References m_LastEnqueueTime.
Referenced by MessageBuffer::enqueue().
|
inlinevirtual |
Definition at line 66 of file Message.hh.
References panic.
|
inlinevirtual |
Definition at line 64 of file Message.hh.
References panic.
Referenced by NetworkInterface::flitisizeMessage(), network_message_to_size(), and Throttle::operateVnet().
|
inline |
Definition at line 93 of file Message.hh.
References m_msg_counter.
|
inline |
Definition at line 91 of file Message.hh.
References m_time.
|
inline |
Definition at line 103 of file Message.hh.
References vnet.
|
pure virtual |
Implemented in RubyRequest.
Referenced by operator<<().
|
inline |
Definition at line 102 of file Message.hh.
References incoming_link.
|
inline |
Definition at line 88 of file Message.hh.
References m_LastEnqueueTime.
Referenced by WireBuffer::enqueue(), and MessageBuffer::enqueue().
|
inline |
Definition at line 92 of file Message.hh.
References ArmISA::c, and m_msg_counter.
Referenced by MessageBuffer::enqueue().
|
inline |
Definition at line 104 of file Message.hh.
References vnet.
|
inline |
Update the delay this message has experienced so far.
Definition at line 80 of file Message.hh.
References m_DelayedTicks, and m_LastEnqueueTime.
Referenced by MessageBuffer::enqueue().
|
private |
Definition at line 113 of file Message.hh.
Referenced by getIncomingLink(), and setIncomingLink().
|
private |
Definition at line 109 of file Message.hh.
Referenced by getDelayedTicks(), and updateDelayedTicks().
|
private |
Definition at line 108 of file Message.hh.
Referenced by getLastEnqueueTime(), setLastEnqueueTime(), and updateDelayedTicks().
|
private |
Definition at line 110 of file Message.hh.
Referenced by getMsgCounter(), and setMsgCounter().
|
private |
Definition at line 107 of file Message.hh.
Referenced by getTime().
|
private |
Definition at line 114 of file Message.hh.