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

Method getMilliSpan

tools/streamer_recorder/recorder.cpp:44–50  ·  view source on GitHub ↗

get time diff from nTimeStart to now

Source from the content-addressed store, hash-verified

42
43// get time diff from nTimeStart to now
44int Recorder::getMilliSpan(int nTimeStart)
45{
46 nSpan = Recorder::getMilliCount() - nTimeStart;
47 if(nSpan < 0)
48 nSpan += 0x100000 * 1000;
49 return nSpan;
50}
51
52// get time diff from nTimeStart to now
53void Recorder::registTimeStamp()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected