MCPcopy Create free account
hub / github.com/FastLED/FastLED / now

Method now

src/fl/stl/chrono.h:298–300  ·  view source on GitHub ↗

Now that fl::micros() is declared, implement clock::now() methods

Source from the content-addressed store, hash-verified

296
297// Now that fl::micros() is declared, implement clock::now() methods
298inline chrono::steady_clock::time_point chrono::steady_clock::now() FL_NOEXCEPT {
299 return time_point(duration(static_cast<fl::i64>(fl::micros())));
300}
301
302inline chrono::system_clock::time_point chrono::system_clock::now() FL_NOEXCEPT {
303 return time_point(duration(static_cast<fl::i64>(fl::micros())));

Callers 15

emitStripAddedMethod · 0.45
emitStripUpdateMethod · 0.45
emitFrameReadyMethod · 0.45
emitUiUpdateMethod · 0.45
emitMethod · 0.45
emitErrorMethod · 0.45
getEventStatsMethod · 0.45
resetEventStatsMethod · 0.45
constructorMethod · 0.45
getPerformanceSummaryMethod · 0.45
fastled_events.tsFile · 0.45

Calls 3

time_pointClass · 0.70
durationClass · 0.70
microsFunction · 0.70

Tested by 2

test_cache_expirationMethod · 0.36