31 #ifndef __LEARNING_GEM5_HELLO_OBJECT_HH__ 32 #define __LEARNING_GEM5_HELLO_OBJECT_HH__ 37 #include "params/HelloObject.hh" 74 #endif // __LEARNING_GEM5_HELLO_OBJECT_HH__ const std::string myName
The name of this object in the Python config file.
void startup()
Part of a SimObject's initilaization.
const Tick latency
Latency between calling the event (in ticks)
void processEvent()
Example function to execute on an event trigger.
uint64_t Tick
Tick count type.
HelloObject(HelloObjectParams *p)
int timesLeft
Number of times left to fire the event before goodbye.
EventFunctionWrapper event
An event that wraps the above function.
Abstract superclass for simulation objects.
GoodbyeObject * goodbye
Pointer to the corresponding GoodbyeObject. Set via Python.