CpuTicksToMicroSeconds

From Solid Graphics Wiki

Jump to: navigation, search
CpuTicksToMicroSeconds
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 CpuTicksToMicroSeconds function translates CPU ticks difference value returned by two GET_CPU_TICK_COUNT macro calls to microseconds using double precision.



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


Parameters

ticks The number of ticks to translate to microseconds.
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