#include <chrono_timestamp_provider.h>
Public Member Functions | |
| ~ChronoTimestampProvider () override | |
| fml::TimePoint | Now () override |
Static Public Member Functions | |
| static ChronoTimestampProvider & | Instance () |
TimestampProvider implementation that is backed by std::chrono::steady_clock meant to be used only in tests for fml. Other components needing the current time ticks since epoch should instantiate their own time stamp provider backed by Dart clock.
Definition at line 19 of file chrono_timestamp_provider.h.
|
overridedefault |
|
inlinestatic |
Definition at line 21 of file chrono_timestamp_provider.h.
References instance.
Referenced by fml::ChronoTicksSinceEpoch().
|
overridevirtual |
Implements fml::TimestampProvider.
Definition at line 15 of file chrono_timestamp_provider.cc.
References fml::TimePoint::FromTicks().
Referenced by fml::ChronoTicksSinceEpoch().