Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
75
double TickRateApproacher::ticksBehind() {
76
return (m_targetTickRate - m_tickRateMonitor.rate()) * window();
77
}
78
79
double TickRateApproacher::ticksAhead() {
80
return -ticksBehind();
Callers
1
run
Method · 0.80
Calls
1
rate
Method · 0.80
Tested by
no test coverage detected