ofDocsdocumentation utils ofFpsCounter

ofFpsCounter


getFps( )

double getFps()

getLastFrameFilteredNanos( )

uint64_t getLastFrameFilteredNanos()

getLastFrameFilteredSecs( )

double getLastFrameFilteredSecs()

getLastFrameNanos( )

uint64_t getLastFrameNanos()

getLastFrameSecs( )

double getLastFrameSecs()

getNumFrames( )

uint64_t getNumFrames()

newFrame( )

void newFrame()

ofFpsCounter( )

ofFpsCounter()

ofFpsCounter( ... )

ofFpsCounter(double targetFps)

setFilterAlpha( ... )

void setFilterAlpha(float alpha)

update( )

void update()

update( ... )

void update(double now)

Variables

double filterAlpha
chrono::nanoseconds filteredTime
double fps
uint64_t lastFrameTime
uint64_t nFrameCount
ofTime then