MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / xnOSQueryTimer

Function xnOSQueryTimer

Source/OpenNI/FilesOnly/FilesOnlyTime.cpp:96–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96XN_C_API XnStatus xnOSQueryTimer(XnOSTimer Timer, XnUInt64* pnTimeSinceStart)
97{
98 *pnTimeSinceStart = (clock() - Timer.nStartTick) * 1000 / CLOCKS_PER_SEC;
99
100 return (XN_STATUS_OK);
101}
102
103XN_C_API XnStatus xnOSStopTimer(XnOSTimer* pTimer)
104{

Callers 1

xnOSGetTimeStampFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected