gem5  v21.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Macros
units.hh File Reference
#include <type_traits>
#include "base/cprintf.hh"

Go to the source code of this file.

Classes

class  Stats::Units::Base
 The Base class is the parent class of all unit classes. More...
 
class  Stats::Units::Cycle
 
class  Stats::Units::Tick
 
class  Stats::Units::Second
 
class  Stats::Units::Bit
 
class  Stats::Units::Byte
 
class  Stats::Units::Watt
 
class  Stats::Units::Joule
 
class  Stats::Units::Volt
 
class  Stats::Units::DegreeCelsius
 
class  Stats::Units::Count
 
class  Stats::Units::Rate< T1, T2 >
 
class  Stats::Units::Ratio
 
class  Stats::Units::Unspecified
 

Namespaces

 Stats
 
 Stats::Units
 Units for Stats.
 

Macros

#define UNIT_CYCLE   Stats::Units::Cycle::get()
 Convenience macros to declare the unit of a stat. More...
 
#define UNIT_TICK   Stats::Units::Tick::get()
 
#define UNIT_SECOND   Stats::Units::Second::get()
 
#define UNIT_BIT   Stats::Units::Bit::get()
 
#define UNIT_BYTE   Stats::Units::Byte::get()
 
#define UNIT_JOULE   Stats::Units::Joule::get()
 
#define UNIT_VOLT   Stats::Units::Volt::get()
 
#define UNIT_CELSIUS   Stats::Units::DegreeCelsius::get()
 
#define UNIT_RATE(T1, T2)   Stats::Units::Rate<T1, T2>::get()
 
#define UNIT_RATIO   Stats::Units::Ratio::get()
 
#define UNIT_COUNT   Stats::Units::Count::get()
 
#define UNIT_WATT   Stats::Units::Watt::get()
 
#define UNIT_UNSPECIFIED   Stats::Units::Unspecified::get()
 

Macro Definition Documentation

◆ UNIT_BIT

#define UNIT_BIT   Stats::Units::Bit::get()

Definition at line 42 of file units.hh.

◆ UNIT_BYTE

#define UNIT_BYTE   Stats::Units::Byte::get()

Definition at line 43 of file units.hh.

◆ UNIT_CELSIUS

#define UNIT_CELSIUS   Stats::Units::DegreeCelsius::get()

Definition at line 46 of file units.hh.

◆ UNIT_COUNT

#define UNIT_COUNT   Stats::Units::Count::get()

Definition at line 49 of file units.hh.

◆ UNIT_CYCLE

#define UNIT_CYCLE   Stats::Units::Cycle::get()

Convenience macros to declare the unit of a stat.

Definition at line 39 of file units.hh.

◆ UNIT_JOULE

#define UNIT_JOULE   Stats::Units::Joule::get()

Definition at line 44 of file units.hh.

◆ UNIT_RATE

#define UNIT_RATE (   T1,
  T2 
)    Stats::Units::Rate<T1, T2>::get()

Definition at line 47 of file units.hh.

◆ UNIT_RATIO

#define UNIT_RATIO   Stats::Units::Ratio::get()

Definition at line 48 of file units.hh.

◆ UNIT_SECOND

#define UNIT_SECOND   Stats::Units::Second::get()

Definition at line 41 of file units.hh.

◆ UNIT_TICK

#define UNIT_TICK   Stats::Units::Tick::get()

Definition at line 40 of file units.hh.

◆ UNIT_UNSPECIFIED

#define UNIT_UNSPECIFIED   Stats::Units::Unspecified::get()

Definition at line 51 of file units.hh.

◆ UNIT_VOLT

#define UNIT_VOLT   Stats::Units::Volt::get()

Definition at line 45 of file units.hh.

◆ UNIT_WATT

#define UNIT_WATT   Stats::Units::Watt::get()

Definition at line 50 of file units.hh.


Generated on Tue Mar 23 2021 19:41:31 for gem5 by doxygen 1.8.17