gem5 v24.1.0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes
gem5::statistics::units Namespace Reference

Units for Stats. More...

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
 

Detailed Description

Units for Stats.

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,


Generated on Mon Jan 13 2025 04:29:17 for gem5 by doxygen 1.9.8