MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / rate

Method rate

source/core/StarTickRateMonitor.cpp:37–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37double TickRateMonitor::rate() const {
38 return TickRateMonitor(*this).tick(0);
39}
40
41TickRateApproacher::TickRateApproacher(double targetTickRate, double window)
42 : m_tickRateMonitor(window), m_targetTickRate(targetTickRate) {}

Callers 4

runMethod · 0.80
runMethod · 0.80
runMethod · 0.80
ticksBehindMethod · 0.80

Calls 2

TickRateMonitorClass · 0.85
tickMethod · 0.45

Tested by

no test coverage detected