FastLED 3.10.8
Loading...
Searching...
No Matches
chrono.cpp.hpp File Reference
#include "fl/stl/chrono.h"
#include "fl/log/log.h"
#include "fl/stl/mutex.h"
#include "platforms/time_platform.h"
+ Include dependency graph for chrono.cpp.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fl::anonymous_namespace{chrono.cpp.hpp}::Micros64State
 
struct  fl::anonymous_namespace{chrono.cpp.hpp}::Millis64State
 

Namespaces

namespace  fl
 Base definition for an LED controller.
 
namespace  fl::anonymous_namespace{chrono.cpp.hpp}
 

Functions

Micros64State & fl::anonymous_namespace{chrono.cpp.hpp}::get_micros64_state () FL_NO_EXCEPT
 
Millis64State & fl::anonymous_namespace{chrono.cpp.hpp}::get_millis64_state () FL_NO_EXCEPT
 
fl::u32 fl::micros () FL_NO_EXCEPT
 Universal microsecond timer - returns microseconds since system startup.
 
fl::u64 fl::micros64 () FL_NO_EXCEPT
 64-bit monotonic microsecond timer.
 
fl::u32 fl::millis () FL_NO_EXCEPT
 Universal millisecond timer - returns milliseconds since system startup.
 
fl::u64 fl::millis64 () FL_NO_EXCEPT
 64-bit millisecond timer - returns milliseconds since system startup without wraparound
 
void fl::millis64_reset () FL_NO_EXCEPT
 

Class Documentation

◆ fl::anonymous_namespace{chrono.cpp.hpp}::Micros64State

struct fl::anonymous_namespace{chrono.cpp.hpp}::Micros64State
Class Members
u64 accumulated = 0
bool initialized = false
u32 last_micros = 0
mutex mutex

◆ fl::anonymous_namespace{chrono.cpp.hpp}::Millis64State

struct fl::anonymous_namespace{chrono.cpp.hpp}::Millis64State
Class Members
u64 accumulated = 0
bool initialized = false
u32 last_millis = 0
mutex mutex