gem5  v22.1.0.0
gem5::sim_clock::as_float Namespace Reference

Variables

double s
 These variables equal the number of ticks in the unit of time they're named after in a double. More...
 
double ms
 millisecond More...
 
double us
 microsecond More...
 
double ns
 nanosecond More...
 
double ps
 picosecond More...
 
double Hz
 These variables the inverse of above. More...
 
double kHz
 kHz More...
 
double MHz
 MHz. More...
 
double GHz
 GHz. More...
 

Variable Documentation

◆ GHz

double gem5::sim_clock::as_float::GHz

GHz.

Definition at line 62 of file core.cc.

Referenced by gem5::fixClockFrequency(), and gem5::Time::setTick().

◆ Hz

double gem5::sim_clock::as_float::Hz

These variables the inverse of above.

They're all < 1. Hz

Definition at line 59 of file core.cc.

Referenced by gem5::fixClockFrequency(), sc_core::sc_set_default_time_unit(), sc_core::sc_time::sc_time(), and sc_core::sc_time::to_seconds().

◆ kHz

double gem5::sim_clock::as_float::kHz

kHz

Definition at line 60 of file core.cc.

Referenced by gem5::fixClockFrequency().

◆ MHz

double gem5::sim_clock::as_float::MHz

MHz.

Definition at line 61 of file core.cc.

Referenced by gem5::fixClockFrequency(), and gem5::RealViewCtrl::read().

◆ ms

double gem5::sim_clock::as_float::ms

millisecond

Definition at line 54 of file core.cc.

Referenced by gem5::fixClockFrequency(), and gem5::X86KvmCPU::kvmRunDrain().

◆ ns

double gem5::sim_clock::as_float::ns

◆ ps

double gem5::sim_clock::as_float::ps

picosecond

Definition at line 57 of file core.cc.

Referenced by gem5::fixClockFrequency().

◆ s

double gem5::sim_clock::as_float::s

◆ us

double gem5::sim_clock::as_float::us

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