29 #ifndef __LEARNING_GEM5_GOODBYE_OBJECT_HH__ 30 #define __LEARNING_GEM5_GOODBYE_OBJECT_HH__ 34 #include "params/GoodbyeObject.hh" 82 #endif // __LEARNING_GEM5_GOODBYE_OBJECT_HH__ int bufferSize
The size of the buffer we are going to fill.
int bufferUsed
The amount of the buffer we've used so far.
EventFunctionWrapper event
An event that wraps the above function.
void fillBuffer()
Fills the buffer for one iteration.
virtual const std::string name() const
float bandwidth
The bytes processed per tick.
void sayGoodbye(std::string name)
Called by an outside object.
GoodbyeObject(GoodbyeObjectParams *p)
char * buffer
The buffer we are putting our message in.
void processEvent()
Fill the buffer with the next chunk of data.
std::string message
The message to put into the buffer.
Abstract superclass for simulation objects.