Home |
RTKernel-32 Programming Manual Function TIElapsedTime |
Function TIElapsedTimeThis function calculates the time relative to a given time value: typedef double TISeconds; TISeconds TIElapsedTime(const RTKFineTime * T); ParametersTPointer to an RTKFineTime structure which must have been previously set by a call to FTReadTime. return valueThe elapsed time in seconds. Parameter (*T) must have been set by a call to FTReadTime. TIElapsedTime subtracts an overhead value from the measured time. Thus, a construct such as: TISeconds Result; RTKFineTime T; FTReadTime(&T); Result = TIElapsedTime(&T); will yield zero or a very small value. Please note that the time returned may be negative due to caching or other time-distorting effects.
|