Go to the documentation of this file.
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__
void fillBuffer()
Fills the buffer for one iteration.
int bufferUsed
The amount of the buffer we've used so far.
std::string message
The message to put into the buffer.
EventFunctionWrapper event
An event that wraps the above function.
float bandwidth
The bytes processed per tick.
int bufferSize
The size of the buffer we are going to fill.
void sayGoodbye(std::string name)
Called by an outside object.
char * buffer
The buffer we are putting our message in.
GoodbyeObject(GoodbyeObjectParams *p)
virtual const std::string name() const
void processEvent()
Fill the buffer with the next chunk of data.
Abstract superclass for simulation objects.
Generated on Wed Sep 30 2020 14:02:12 for gem5 by doxygen 1.8.17