fesa-core-gsi
4.3.1
|
Specialized context for a RTEvent coming from the TimingSimulationEventSource. More...
#include <TimingSimulationContext.h>
Inherits TimingContext.
Public Member Functions | |
TimingSimulationContext (std::string &domainName, long cycleId, std::string &cycleName, long relativEventTimeInCycle) | |
Constructor. More... | |
long long | getInterruptTimeStamp () |
Returns the time of occurrence of the event expressed as a 64-bit integer counting the number of nanoseconds elapsed since the UNIX epoch i.e. since January 1st 1970 at 00.00 A.M. More... | |
unsigned long | getCycleTime () |
Returns the time of occurrence of the event in the cycle in ms. The time is returned in a 32 bit integer with the number of miliseconds ticks since the start of the currently executing cycle. More... | |
void | setCycleTimeStamp () |
set startCycle time: internally relies on gettimeofday() call | |
Specialized context for a RTEvent coming from the TimingSimulationEventSource.
fesaGSI::TimingSimulationContext::TimingSimulationContext | ( | std::string & | domainName, |
long | cycleId, | ||
std::string & | cycleName, | ||
long | relativEventTimeInCycle | ||
) |
Constructor.
cycleName | Name of the cycle the context is used for |
relativEventTimeInCycle | time from the start of the cycle to the event |
unsigned long fesaGSI::TimingSimulationContext::getCycleTime | ( | ) |
Returns the time of occurrence of the event in the cycle in ms. The time is returned in a 32 bit integer with the number of miliseconds ticks since the start of the currently executing cycle.
long long fesaGSI::TimingSimulationContext::getInterruptTimeStamp | ( | ) |
Returns the time of occurrence of the event expressed as a 64-bit integer counting the number of nanoseconds elapsed since the UNIX epoch i.e. since January 1st 1970 at 00.00 A.M.