risc::sg::Time Class Reference
This class represents timing in discrete event simulation.
More...
#include <time.h>
List of all members.
Detailed Description
This class represents timing in discrete event simulation.
Constructor & Destructor Documentation
This constructor initializes the time values with (0,0).
Time
risc::sg::Time::Time |
( |
long long |
time_units, |
|
|
int |
delta_count | |
|
) |
| | |
This constructor initializes the time values with user custom values.
Time
risc::sg::Time::Time |
( |
bool |
infinite |
) |
|
This constructor should be used to set the infinite flag.
Time
Member Function Documentation
bool risc::sg::Time::one_delta_cycle_ahead |
( |
const Time & |
ohs |
) |
|
The function checks if the difference between this and the given time stamp is exactly one delta cycle.
one_delta_cycle_ahead
bool risc::sg::Time::operator!= |
( |
const Time & |
ohs |
) |
|
bool risc::sg::Time::operator< |
( |
const Time & |
ohs |
) |
|
bool risc::sg::Time::operator<= |
( |
const Time & |
ohs |
) |
|
bool risc::sg::Time::operator== |
( |
const Time & |
ohs |
) |
|
bool risc::sg::Time::operator> |
( |
const Time & |
ohs |
) |
|
bool risc::sg::Time::operator>= |
( |
const Time & |
ohs |
) |
|
Member Data Documentation
This flag is set to describe an infinite amount of time.
The documentation for this class was generated from the following files:
- /local/lecs/lecs/risc_v0.2.1/sources/build/risc_v0.2.1/src/segment_graph/time.h
- /local/lecs/lecs/risc_v0.2.1/sources/build/risc_v0.2.1/src/segment_graph/time.cpp