CIRCT
19.0.0git
|
The simulator's internal representation of time. More...
#include <State.h>
Public Member Functions | |
Time ()=default | |
Empty (zero) time constructor. All the time values are defaulted to 0. More... | |
Time (uint64_t time, uint64_t delta, uint64_t eps) | |
Construct with given time values. More... | |
bool | operator< (const Time &rhs) const |
Compare the time values in order of time, delta, eps. More... | |
bool | operator== (const Time &rhs) const |
Return true if all the time values are equal. More... | |
Time | operator+ (const Time &rhs) const |
Add two time values. More... | |
std::string | toString () const |
Get the stored time in a printable format. More... | |
uint64_t | getTime () const |
Private Attributes | |
uint64_t | time |
Simulation real time. More... | |
uint64_t | delta |
uint64_t | eps |
|
default |
Empty (zero) time constructor. All the time values are defaulted to 0.
Referenced by operator+().
|
inline |
|
inline |
Definition at line 58 of file State.h.
References time.
Referenced by circt::llhd::sim::Trace::flush(), and circt::llhd::sim::Trace::flushMerged().
|
inline |
|
inline |
std::string Time::toString | ( | ) | const |
Get the stored time in a printable format.
Definition at line 28 of file State.cpp.
Referenced by circt::llhd::sim::Trace::flushFull().
|
private |
Definition at line 63 of file State.h.
Referenced by operator+(), operator<(), and operator==().
|
private |
Definition at line 64 of file State.h.
Referenced by operator+(), operator<(), and operator==().
|
private |
Simulation real time.
Definition at line 62 of file State.h.
Referenced by circt::llhd::sim::UpdateQueue::getOrCreateSlot(), getTime(), operator+(), operator<(), and operator==().