A class to convert between a component's view of time and the core's view of time. More...
#include <timeConverter.h>
Public Member Functions | |
| SimTime_t | convertToCoreTime (SimTime_t time) |
| Converts from the component's view to the core's view of time. | |
| SimTime_t | convertFromCoreTime (SimTime_t time) |
| Converts from the core's view to the components's view of time. | |
| SimTime_t | getFactor () |
Friends | |
| class | TimeLord |
| class | boost::serialization::access |
A class to convert between a component's view of time and the core's view of time.
| SimTime_t SST::TimeConverter::convertFromCoreTime | ( | SimTime_t | time | ) | [inline] |
Converts from the core's view to the components's view of time.
The result is truncated, not rounded.
| time | time to convert from core time |
| SimTime_t SST::TimeConverter::convertToCoreTime | ( | SimTime_t | time | ) | [inline] |
Converts from the component's view to the core's view of time.
| time | time to convert to core time |
Referenced by SST::Link::Send().
1.7.1