Flutter Engine
The Flutter Engine
|
Used for fixed refresh rate cases. More...
#include <stopwatch.h>
Public Member Functions | |
FixedRefreshRateStopwatch (fml::Milliseconds fixed_frame_budget=fml::kDefaultFrameBudget) | |
Public Member Functions inherited from flutter::Stopwatch | |
Stopwatch (const RefreshRateUpdater &updater) | |
~Stopwatch () | |
const fml::TimeDelta & | GetLap (size_t index) const |
size_t | GetLapsCount () const |
Return a reference to all the laps. More... | |
size_t | GetCurrentSample () const |
const fml::TimeDelta & | LastLap () const |
fml::TimeDelta | MaxDelta () const |
fml::TimeDelta | AverageDelta () const |
void | Start () |
void | Stop () |
void | SetLapTime (const fml::TimeDelta &delta) |
fml::Milliseconds | GetFrameBudget () const |
All places which want to get frame_budget should call this function. More... | |
Used for fixed refresh rate cases.
Definition at line 77 of file stopwatch.h.
|
explicit |
Definition at line 19 of file stopwatch.cc.