|  | friz
    An animation control system for JUCE | 
Calculate the actual current (average) frame rate as measured at runtime. More...
#include <controller.h>
| Public Member Functions | |
| void | update (juce::int64 timeInMs) | 
| Called each time we update the animator so we can keep track of the frequency. | |
| float | get () const | 
| Calculate the actual frame rate that we're running at. | |
| void | clear () | 
| reset all internal values before starting. | |
| Static Private Attributes | |
| static constexpr int | frameCount { 24 } | 
Calculate the actual current (average) frame rate as measured at runtime.
| float friz::FrameRateCalculator::get | ( | ) | const | 
Calculate the actual frame rate that we're running at.
| void friz::FrameRateCalculator::update | ( | juce::int64 | timeInMs | ) | 
Called each time we update the animator so we can keep track of the frequency.
| timeInMs |