gem5  v22.1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Functions
units.test.cc File Reference
#include <gtest/gtest-spi.h>
#include <gtest/gtest.h>
#include "base/stats/units.hh"

Go to the source code of this file.

Functions

 TEST (StatsUnitsTest, Cycle)
 
 TEST (StatsUnitsTest, Tick)
 
 TEST (StatsUnitsTest, Second)
 
 TEST (StatsUnitsTest, Bit)
 
 TEST (StatsUnitsTest, Byte)
 
 TEST (StatsUnitsTest, Watt)
 
 TEST (StatsUnitsTest, Joule)
 
 TEST (StatsUnitsTest, Volt)
 
 TEST (StatsUnitsTest, DegreeCelsius)
 
 TEST (StatsUnitsTest, Count)
 
 TEST (StatsUnitsTest, Rate1)
 
 TEST (StatsUnitsTest, Rate2)
 
 TEST (StatsUnitsTest, RateOfRates)
 
 TEST (StatsUnitsTest, Ratio)
 
 TEST (StatsUnitsTest, Unspecified)
 

Function Documentation

◆ TEST() [1/15]

TEST ( StatsUnitsTest  ,
Bit   
)

◆ TEST() [2/15]

TEST ( StatsUnitsTest  ,
Byte   
)

◆ TEST() [3/15]

TEST ( StatsUnitsTest  ,
Count   
)

◆ TEST() [4/15]

TEST ( StatsUnitsTest  ,
Cycle   
)

◆ TEST() [5/15]

TEST ( StatsUnitsTest  ,
DegreeCelsius   
)

◆ TEST() [6/15]

TEST ( StatsUnitsTest  ,
Joule   
)

◆ TEST() [7/15]

TEST ( StatsUnitsTest  ,
Rate1   
)

Definition at line 98 of file units.test.cc.

References gem5::MipsISA::misc_reg::Count.

◆ TEST() [8/15]

TEST ( StatsUnitsTest  ,
Rate2   
)

Definition at line 110 of file units.test.cc.

◆ TEST() [9/15]

TEST ( StatsUnitsTest  ,
RateOfRates   
)

◆ TEST() [10/15]

TEST ( StatsUnitsTest  ,
Ratio   
)

◆ TEST() [11/15]

TEST ( StatsUnitsTest  ,
Second   
)

◆ TEST() [12/15]

TEST ( StatsUnitsTest  ,
Tick   
)

◆ TEST() [13/15]

TEST ( StatsUnitsTest  ,
Unspecified   
)

◆ TEST() [14/15]

TEST ( StatsUnitsTest  ,
Volt   
)

◆ TEST() [15/15]

TEST ( StatsUnitsTest  ,
Watt   
)

Generated on Wed Dec 21 2022 10:22:54 for gem5 by doxygen 1.9.1