gem5
v21.0.0.0
|
Classes | |
class | Base |
The Base class is the parent class of all unit classes. More... | |
class | Bit |
class | Byte |
class | Count |
class | Cycle |
class | DegreeCelsius |
class | Joule |
class | Rate |
class | Ratio |
class | Second |
class | Tick |
class | Unspecified |
class | Volt |
class | Watt |
This header file provides an ability to associate a stat object with a specific unit.
The supported units are:
Each unit class is intended to be a singleton, which means only each unit class has at most one object of that class exist throughout the program. Therefore, copy constructors and assignment operators are deleted functions.
When any of the following criteria is met, a new unit should be added,