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

Method ticksBehind

source/core/StarTickRateMonitor.cpp:75–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75double TickRateApproacher::ticksBehind() {
76 return (m_targetTickRate - m_tickRateMonitor.rate()) * window();
77}
78
79double TickRateApproacher::ticksAhead() {
80 return -ticksBehind();

Callers 1

runMethod · 0.80

Calls 1

rateMethod · 0.80

Tested by

no test coverage detected