MCPcopy Create free account
hub / github.com/VCVRack/Rack / getFrameDurationRemaining

Method getFrameDurationRemaining

src/window/Window.cpp:752–755  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

750
751
752double Window::getFrameDurationRemaining() {
753 double frameDuration = 1.f / settings::frameRateLimit;
754 return frameDuration - (system::getTime() - internal->frameTime);
755}
756
757
758std::shared_ptr<Font> Window::loadFont(const std::string& filename) {

Callers 1

drawMethod · 0.80

Calls 1

getTimeFunction · 0.85

Tested by

no test coverage detected