gem5 v24.0.0.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 gem5::statistics::units::Bit, gem5::statistics::units::Byte, gem5::statistics::units::Count, gem5::statistics::units::Cycle, gem5::statistics::units::DegreeCelsius, gem5::statistics::units::Joule, gem5::statistics::units::Rate< T1, T2 >, gem5::statistics::units::Ratio, gem5::statistics::units::Second, gem5::statistics::units::Tick, gem5::statistics::units::Unspecified, gem5::statistics::units::Volt, and gem5::statistics::units::Watt.
Referenced by gem5::statistics::DistPrint::DistPrint(), gem5::statistics::DistPrint::init(), gem5::statistics::SparseHistPrint::init(), gem5::pybind_init_stats(), gem5::statistics::Text::visit(), gem5::statistics::Text::visit(), and gem5::statistics::Text::visit().