MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / getMilliCount

Method getMilliCount

tools/streamer_recorder/recorder.cpp:36–41  ·  view source on GitHub ↗

get initial time in ms

Source from the content-addressed store, hash-verified

34
35// get initial time in ms
36int Recorder::getMilliCount()
37{
38 ftime(&tb);
39 int nCount = tb.millitm + (tb.time & 0xfffff) * 1000;
40 return nCount;
41}
42
43// get time diff from nTimeStart to now
44int Recorder::getMilliSpan(int nTimeStart)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected