gem5
v21.0.1.0
|
The Base class is the parent class of all unit classes. More...
#include <units.hh>
Public Member Functions | |
virtual std::string | getUnitString () const =0 |
The Base class is the parent class of all unit classes.
This class is intended to an abstract class specifying common behaviors of all unit classes.
|
pure virtual |
Implemented in Stats::Units::Unspecified, Stats::Units::Ratio, Stats::Units::Rate< T1, T2 >, Stats::Units::Count, Stats::Units::DegreeCelsius, Stats::Units::Volt, Stats::Units::Joule, Stats::Units::Watt, Stats::Units::Byte, Stats::Units::Bit, Stats::Units::Second, Stats::Units::Tick, and Stats::Units::Cycle.
Referenced by Stats::DistPrint::DistPrint(), Stats::DistPrint::init(), Stats::SparseHistPrint::init(), pybind_init_stats(), and Stats::Text::visit().