MCPcopy Create free account
hub / github.com/bwapi/bwapi / getFPS

Method getFPS

bwapi/BWAPI/Source/BWAPI/GameImpl.cpp:135–138  ·  view source on GitHub ↗

------------------------------------------------ GET FPS -------------------------------------------------

Source from the content-addressed store, hash-verified

133 }
134 //------------------------------------------------ GET FPS -------------------------------------------------
135 int GameImpl::getFPS() const
136 {
137 return fpsCounter.getFps();
138 }
139 //-------------------------------------------- GET Average FPS ---------------------------------------------
140 double GameImpl::getAverageFPS() const
141 {

Callers 6

updateOverlaysMethod · 0.95
updateSharedMemoryMethod · 0.45
onFrameMethod · 0.45
onFrameMethod · 0.45
onFrameMethod · 0.45
onFrameMethod · 0.45

Calls 1

getFpsMethod · 0.80

Tested by 3

onFrameMethod · 0.36
onFrameMethod · 0.36
onFrameMethod · 0.36