MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / osvrTimeValueSum

Function osvrTimeValueSum

src/osvr/Util/TimeValueC.cpp:63–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void osvrTimeValueSum(OSVR_INOUT_PTR OSVR_TimeValue *tvA,
64 OSVR_IN_PTR const OSVR_TimeValue *tvB) {
65 if (!tvA || !tvB) {
66 return;
67 }
68 tvA->seconds += tvB->seconds;
69 tvA->microseconds += tvB->microseconds;
70 osvrTimeValueNormalize(tvA);
71}
72
73void osvrTimeValueDifference(OSVR_INOUT_PTR OSVR_TimeValue *tvA,
74 OSVR_IN_PTR const OSVR_TimeValue *tvB) {

Callers

nothing calls this directly

Calls 1

osvrTimeValueNormalizeFunction · 0.85

Tested by

no test coverage detected