Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bwapi/bwapi
/ getFps
Method
getFps
bwapi/BWAPICore/FPSCounter.cpp:35–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
}
34
35
int FPSCounter::getFps() const
36
{
37
return static_cast<int>(std::round(fps));
38
}
39
40
double FPSCounter::getAverageFps() const
41
{
Callers
2
getFPS
Method · 0.80
TEST_CLASS
Function · 0.80
Calls
no outgoing calls
Tested by
1
TEST_CLASS
Function · 0.64