reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofFpsCounter Class Reference

#include <ofFpsCounter.h>

Public Member Functions

 ofFpsCounter ()
 
 ofFpsCounter (double targetFps)
 
void newFrame ()
 
void update ()
 
double getFps () const
 
uint64_t getNumFrames () const
 
uint64_t getLastFrameNanos () const
 
double getLastFrameSecs () const
 
uint64_t getLastFrameFilteredNanos () const
 
double getLastFrameFilteredSecs () const
 
void setFilterAlpha (float alpha)
 

Constructor & Destructor Documentation

◆ ofFpsCounter() [1/2]

ofFpsCounter::ofFpsCounter ( )

◆ ofFpsCounter() [2/2]

ofFpsCounter::ofFpsCounter ( double  targetFps)

Member Function Documentation

◆ getFps()

double ofFpsCounter::getFps ( ) const

◆ getLastFrameFilteredNanos()

uint64_t ofFpsCounter::getLastFrameFilteredNanos ( ) const

◆ getLastFrameFilteredSecs()

double ofFpsCounter::getLastFrameFilteredSecs ( ) const

◆ getLastFrameNanos()

uint64_t ofFpsCounter::getLastFrameNanos ( ) const

◆ getLastFrameSecs()

double ofFpsCounter::getLastFrameSecs ( ) const

◆ getNumFrames()

uint64_t ofFpsCounter::getNumFrames ( ) const

◆ newFrame()

void ofFpsCounter::newFrame ( )

◆ setFilterAlpha()

void ofFpsCounter::setFilterAlpha ( float  alpha)

◆ update()

void ofFpsCounter::update ( )

The documentation for this class was generated from the following files: