FastLED 3.9.15
Loading...
Searching...
No Matches
fl::chrono Namespace Reference

Classes

class  duration
 Represents a time duration. More...
 
struct  steady_clock
 Monotonic clock that never goes backwards. More...
 
struct  system_clock
 Wall clock (may not be monotonic) More...
 
class  time_point
 Represents a point in time relative to a clock. More...
 

Typedefs

using hours = duration<fl::i32, fl::ratio<3600>>
 Hours - duration with period of 3600 seconds.
 
using microseconds = duration<fl::i64, fl::micro>
 Microseconds - duration with period of 1/1,000,000 seconds.
 
using milliseconds = duration<fl::i64, fl::milli>
 Milliseconds - duration with period of 1/1,000 seconds.
 
using minutes = duration<fl::i32, fl::ratio<60>>
 Minutes - duration with period of 60 seconds.
 
using nanoseconds = duration<fl::i64, fl::nano>
 Nanoseconds - duration with period of 1/1,000,000,000 seconds.
 
using seconds = duration<fl::i64>
 Seconds - duration with period of 1 second.
 

Functions

template<typename ToDuration, typename Rep, typename Period>
constexpr ToDuration duration_cast (const duration< Rep, Period > &d) FL_NOEXCEPT
 Cast one duration type to another.