CpuTicksToSeconds

From Solid Graphics Wiki

Jump to: navigation, search
CpuTicksToSeconds
Namespace: SKL
Member of: (this function is not member of any class)
Include: SklTime.h
Lib (Release): SKL.lib
Lib (Debug): SKL_D.lib

The CpuTicksToSeconds function translates CPU ticks difference value returned by two GET_CPU_TICK_COUNT macro calls to seconds using double precision.



double CpuTicksToSeconds( LONGLONG ticks, const STimersSyncInfo* syncInfo = NULL );


Parameters

ticks The number of ticks to translate to seconds.
syncInfo Pointer to the STimersSyncInfo variable used for the translation. If NULL the function will use internal STimersSyncInfo variable initialized when the process was started. You can use other value than NULL for example when you want to translate ticks value for STimersSyncInfo values obtained from other computer or process.

See Also





   


SolidKit Library Documentation

Personal tools