SMAUG
Simulating Machine Learning Applications on gem5-Aladdin
|
Contains utility functions for interacting with gem5. More...
Classes | |
class | ScopedStats |
A RAII helper class which dumps and/or resets gem5 stats at construction and destruction. More... | |
Functions | |
void | switchCpu () |
Switches to the next CPU type. More... | |
void | dumpStats (const char *msg, int period=0) |
Dumps gem5 stats to the stats.txt file. More... | |
void | dumpResetStats (const char *msg, int period=0) |
Dumps gem5 stats to the stats.txt file and resets all stats. | |
void | quiesce () |
Puts the CPU to sleep. More... | |
void | wakeCpu (int id) |
Wakes up a quiesced CPU. | |
int | getCpuId () |
Returns the logical CPU number. More... | |
Contains utility functions for interacting with gem5.
In trace mode, these are no-ops.
void smaug::gem5::dumpStats | ( | const char * | msg, |
int | period = 0 |
||
) |
int smaug::gem5::getCpuId | ( | ) |
void smaug::gem5::quiesce | ( | ) |