gem5  v21.1.0.2
Classes | Namespaces | Macros | Functions
units.hh File Reference
#include <type_traits>
#include "base/compiler.hh"
#include "base/cprintf.hh"

Go to the source code of this file.

Classes

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

Namespaces

 gem5
 Reference material can be found at the JEDEC website: UFS standard http://www.jedec.org/standards-documents/results/jesd220 UFS HCI specification http://www.jedec.org/standards-documents/results/jesd223.
 
 gem5::statistics
 
 gem5::statistics::units
 

Macros

#define UNIT_CYCLE
 Convenience macros to declare the unit of a stat. More...
 
#define UNIT_TICK
 
#define UNIT_SECOND
 
#define UNIT_BIT
 
#define UNIT_BYTE
 
#define UNIT_JOULE
 
#define UNIT_VOLT
 
#define UNIT_CELSIUS
 
#define UNIT_RATE(T1, T2)
 
#define UNIT_RATIO
 
#define UNIT_COUNT
 
#define UNIT_WATT
 
#define UNIT_UNSPECIFIED
 

Functions

 gem5::GEM5_DEPRECATED_NAMESPACE (Stats, statistics)
 
 gem5::statistics::GEM5_DEPRECATED_NAMESPACE (Units, units)
 Units for Stats. More...
 

Macro Definition Documentation

◆ UNIT_BIT

#define UNIT_BIT
Value:
GEM5_DEPRECATED_MACRO( \
UNIT_BIT, statistics::units::Bit::get(), "Use statistics::units::Bit::get()")

Definition at line 51 of file units.hh.

◆ UNIT_BYTE

#define UNIT_BYTE
Value:
GEM5_DEPRECATED_MACRO( \
UNIT_BYTE, statistics::units::Byte::get(), "Use statistics::units::Byte::get()")

Definition at line 53 of file units.hh.

◆ UNIT_CELSIUS

#define UNIT_CELSIUS
Value:
GEM5_DEPRECATED_MACRO( \
UNIT_CELSIUS, statistics::units::DegreeCelsius::get(), \
"Use statistics::units::DegreeCelsius::get()")

Definition at line 60 of file units.hh.

◆ UNIT_COUNT

#define UNIT_COUNT
Value:
GEM5_DEPRECATED_MACRO( \
UNIT_COUNT, statistics::units::Count::get(), \
"Use statistics::units::Count::get()")

Definition at line 69 of file units.hh.

◆ UNIT_CYCLE

#define UNIT_CYCLE
Value:
GEM5_DEPRECATED_MACRO( \
UNIT_CYCLE, statistics::units::Cycle::get(), \
"Use statistics::units::Cycle::get()")

Convenience macros to declare the unit of a stat.

Definition at line 43 of file units.hh.

◆ UNIT_JOULE

#define UNIT_JOULE
Value:
GEM5_DEPRECATED_MACRO( \
UNIT_JOULE, statistics::units::Joule::get(), \
"Use statistics::units::Joule::get()")

Definition at line 55 of file units.hh.

◆ UNIT_RATE

#define UNIT_RATE (   T1,
  T2 
)
Value:
GEM5_DEPRECATED_MACRO( \
UNIT_RATE, (statistics::units::Rate<T1, T2>::get()), \
"Use statistics::units::Rate<T1, T2>::get()")

Definition at line 63 of file units.hh.

◆ UNIT_RATIO

#define UNIT_RATIO
Value:
GEM5_DEPRECATED_MACRO( \
UNIT_RATIO, statistics::units::Ratio::get(), \
"Use statistics::units::Ratio::get()")

Definition at line 66 of file units.hh.

◆ UNIT_SECOND

#define UNIT_SECOND
Value:
GEM5_DEPRECATED_MACRO( \
UNIT_SECOND, statistics::units::Second::get(), \
"Use statistics::units::Second::get()")

Definition at line 48 of file units.hh.

◆ UNIT_TICK

#define UNIT_TICK
Value:
GEM5_DEPRECATED_MACRO( \
UNIT_TICK, statistics::units::Tick::get(), "Use statistics::units::Tick::get()")

Definition at line 46 of file units.hh.

◆ UNIT_UNSPECIFIED

#define UNIT_UNSPECIFIED
Value:
GEM5_DEPRECATED_MACRO( \
UNIT_UNSPECIFIED, statistics::units::Unspecified::get(), \
"Use statistics::units::Unspecified::get()")

Definition at line 74 of file units.hh.

◆ UNIT_VOLT

#define UNIT_VOLT
Value:
GEM5_DEPRECATED_MACRO( \
UNIT_VOLD, statistics::units::Volt::get(), "Use statistics::units::Volt::get()")

Definition at line 58 of file units.hh.

◆ UNIT_WATT

#define UNIT_WATT
Value:
GEM5_DEPRECATED_MACRO( \
UNIT_WATT, statistics::units::Watt::get(), "Use statistics::units::Watt::get()")

Definition at line 72 of file units.hh.

UNIT_BYTE
#define UNIT_BYTE
Definition: units.hh:53
UNIT_CELSIUS
#define UNIT_CELSIUS
Definition: units.hh:60
UNIT_TICK
#define UNIT_TICK
Definition: units.hh:46
UNIT_JOULE
#define UNIT_JOULE
Definition: units.hh:55
UNIT_SECOND
#define UNIT_SECOND
Definition: units.hh:48
UNIT_WATT
#define UNIT_WATT
Definition: units.hh:72
UNIT_UNSPECIFIED
#define UNIT_UNSPECIFIED
Definition: units.hh:74
UNIT_COUNT
#define UNIT_COUNT
Definition: units.hh:69
UNIT_RATIO
#define UNIT_RATIO
Definition: units.hh:66
UNIT_RATE
#define UNIT_RATE(T1, T2)
Definition: units.hh:63
UNIT_CYCLE
#define UNIT_CYCLE
Convenience macros to declare the unit of a stat.
Definition: units.hh:43
UNIT_BIT
#define UNIT_BIT
Definition: units.hh:51

Generated on Tue Sep 21 2021 12:26:26 for gem5 by doxygen 1.8.17