MCPcopy Create free account
hub / github.com/FFMS/ffms2 / getTimeInMicroSeconds

Function getTimeInMicroSeconds

src/index/ffmsindex.cpp:93–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93int64_t getTimeInMicroSeconds() {
94 static std::chrono::time_point<std::chrono::steady_clock> StartTime = std::chrono::steady_clock::now();
95 std::chrono::time_point<std::chrono::steady_clock> Now = std::chrono::steady_clock::now();
96 return std::chrono::duration_cast<std::chrono::microseconds>(Now - StartTime).count();
97}
98
99int64_t parseSecondsToMicroseconds(const char *str) {
100 double val = std::strtod(str, nullptr);

Callers 2

UpdateProgressFunction · 0.85
DoIndexingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected