TCatIoGetCpuTime

The TCatIoGetCpuTime function returns the current CPU time.

LRESULT TCatIoGetCpuTime( __int64* pnTime );

Parameters

pnTime

Address of a 64 bit integer variable to receive the current CPU time in units of 100 Ns.

Return Values

If the function fails, the return value is non zero.

Remarks

TCatIoGetCpuTime reads the counter value of the Pentium CPU and scales it to a time value in units of 100 Ns.

QuickInfo

For Windows NT:    

For Windows CE:

See Also

TCatIoGetCpuCounter ()