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

Method get_time_us

src/platforms/stub/isr_stub.hpp:185–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183 TimerThreadManager& operator=(const TimerThreadManager&) = delete;
184
185 static u64 get_time_us() FL_NOEXCEPT {
186 auto tp = fl::chrono::steady_clock::now();
187 return static_cast<u64>(tp.time_since_epoch().count());
188 }
189
190 void timer_thread_func() FL_NOEXCEPT {
191 fl::unique_lock<fl::mutex> lock(mMutex) FL_NOEXCEPT;

Callers

nothing calls this directly

Calls 2

time_since_epochMethod · 0.80
countMethod · 0.45

Tested by

no test coverage detected