gem5 v24.0.0.0
|
#include <sc_time.hh>
Public Member Functions | |
sc_time_tuple () | |
sc_time_tuple (const sc_time &) | |
bool | has_value () const |
sc_dt::uint64 | value () const |
sc_time_unit | unit () const |
const char * | unit_symbol () const |
operator sc_time () const | |
double | to_double () const |
std::string | to_string () const |
Private Attributes | |
sc_dt::uint64 | _value |
sc_time_unit | _unit |
bool | _set |
Definition at line 114 of file sc_time.hh.
|
inline |
Definition at line 117 of file sc_time.hh.
sc_core::sc_time_tuple::sc_time_tuple | ( | const sc_time & | t | ) |
Definition at line 395 of file sc_time.cc.
References _unit, _value, and gem5::sim_clock::Frequency.
bool sc_core::sc_time_tuple::has_value | ( | ) | const |
Definition at line 431 of file sc_time.cc.
References _set.
|
inline |
Definition at line 127 of file sc_time.hh.
References _unit, and to_double().
double sc_core::sc_time_tuple::to_double | ( | ) | const |
std::string sc_core::sc_time_tuple::to_string | ( | ) | const |
Definition at line 447 of file sc_time.cc.
References _value, ss, and unit_symbol().
Referenced by sc_core::sc_time::print().
|
inline |
Definition at line 123 of file sc_time.hh.
References _unit.
const char * sc_core::sc_time_tuple::unit_symbol | ( | ) | const |
Definition at line 439 of file sc_time.cc.
References _unit, and sc_gem5::TimeUnitNames.
Referenced by to_string().
sc_dt::uint64 sc_core::sc_time_tuple::value | ( | ) | const |
Definition at line 436 of file sc_time.cc.
References _value.
|
private |
Definition at line 135 of file sc_time.hh.
Referenced by has_value().
|
private |
Definition at line 134 of file sc_time.hh.
Referenced by operator sc_time(), sc_time_tuple(), unit(), and unit_symbol().
|
private |
Definition at line 133 of file sc_time.hh.
Referenced by sc_time_tuple(), to_double(), to_string(), and value().