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

Method getAverageFPS

bwapi/BWAPI/Source/BWAPI/GameImpl.cpp:140–143  ·  view source on GitHub ↗

-------------------------------------------- GET Average FPS ---------------------------------------------

Source from the content-addressed store, hash-verified

138 }
139 //-------------------------------------------- GET Average FPS ---------------------------------------------
140 double GameImpl::getAverageFPS() const
141 {
142 return fpsCounter.getAverageFps();
143 }
144 //------------------------------------------- GET MOUSE POSITION -------------------------------------------
145 BWAPI::Position GameImpl::getMousePosition() const
146 {

Callers 4

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

Calls 1

getAverageFpsMethod · 0.80

Tested by

no test coverage detected