SMAUG
Simulating Machine Learning Applications on gem5-Aladdin
Public Member Functions | Protected Attributes | List of all members
smaug::gem5::ScopedStats Class Reference

A RAII helper class which dumps and/or resets gem5 stats at construction and destruction. More...

#include <utils.h>

Detailed Description

A RAII helper class which dumps and/or resets gem5 stats at construction and destruction.

Definition at line 118 of file utils.h.

Public Member Functions

 ScopedStats (const char *_startLabel, const char *_endLabel, bool _resetStats=true)
 

Protected Attributes

const char * startLabel
 
const char * endLabel
 
bool resetStats
 

The documentation for this class was generated from the following files: