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).
This constructor should be used to set the infinite flag.
This constructor initializes the time values with user custom values.
risc::sg::Time::Time |
( |
unsigned long long |
time_units, |
|
|
int |
delta_count | |
|
) |
| | |
risc::sg::Time::Time |
( |
unsigned long long |
time_units, |
|
|
int |
delta_count, |
|
|
bool |
infinite | |
|
) |
| | |
risc::sg::Time::Time |
( |
bool |
infinite |
) |
|
Member Function Documentation
long long risc::sg::Time::convert_si_magnitude |
( |
std::string |
magnitude |
) |
[static] |
bool risc::sg::Time::one_delta_cycle_ahead |
( |
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 |
) |
|
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.4.2/sources/build/risc_v0.4.2/src/segment_graph/time.h
- /local/lecs/lecs/risc_v0.4.2/sources/build/risc_v0.4.2/src/segment_graph/time.cpp