gem5 v25.0.0.1
Loading...
Searching...
No Matches
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.
double ms
 millisecond
double us
 microsecond
double ns
 nanosecond
double ps
 picosecond
double Hz
 These variables the inverse of above.
double kHz
 kHz
double MHz
 MHz.
double GHz
 GHz.

Variable Documentation

◆ GHz

double gem5::sim_clock::as_float::GHz

GHz.

Definition at line 60 of file core.cc.

Referenced by 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 57 of file core.cc.

Referenced by sc_core::sc_set_default_time_unit(), sc_core::sc_time::sc_time(), 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 58 of file core.cc.

◆ MHz

double gem5::sim_clock::as_float::MHz

MHz.

Definition at line 59 of file core.cc.

Referenced by gem5::RealViewCtrl::read().

◆ ms

double gem5::sim_clock::as_float::ms

millisecond

Definition at line 52 of file core.cc.

Referenced by gem5::X86KvmCPU::kvmRunDrain().

◆ ns

double gem5::sim_clock::as_float::ns

nanosecond

Definition at line 54 of file core.cc.

Referenced by gem5::Time::getTick(), gem5::BaseKvmTimer::hostNs(), and gem5::BaseKvmTimer::ticksFromHostNs().

◆ ps

double gem5::sim_clock::as_float::ps

picosecond

Definition at line 55 of file core.cc.

◆ s

double gem5::sim_clock::as_float::s

◆ us

double gem5::sim_clock::as_float::us

microsecond

Definition at line 53 of file core.cc.


Generated on Sat Oct 18 2025 08:07:03 for gem5 by doxygen 1.14.0