MCPcopy Create free account
hub / github.com/TUC-ProAut/libRSF / getSeconds

Method getSeconds

src/TimeMeasurement.cpp:49–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 }
48
49 double Timer::getSeconds()
50 {
51 /** catch current time */
52 TimestampType End = std::chrono::high_resolution_clock::now();
53
54 /** convert to a duration */
55 double TimeDifference = std::chrono::duration_cast<std::chrono::nanoseconds>(End - _Start).count() / 1e9;
56
57 /** convert to double */
58 return TimeDifference;
59 }
60
61}

Callers 1

marginalizeStatesMethod · 0.80

Calls 1

countMethod · 0.80

Tested by

no test coverage detected