MCPcopy Create free account
hub / github.com/IENT/YUView / getMsSinceCreation

Method getMsSinceCreation

YUViewLib/src/ui/PlaybackController.cpp:78–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78int StopWatch::getMsSinceCreation() const
79{
80 const auto newTimePoint = std::chrono::high_resolution_clock::now();
81 const auto msecsSinceCreation =
82 std::chrono::duration_cast<std::chrono::milliseconds>(newTimePoint - this->creationTimePoint);
83 return msecsSinceCreation.count();
84}
85
86PlaybackController::PlaybackController()
87{

Callers 1

goToNextFrameMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected