EtcPal  HEAD (unstable)
ETC Platform Abstraction Layer (EtcPal)
View other versions:
timer.h File Reference

Overview

C++ wrapper and utilities for etcpal/timer.h.

Go to the source code of this file.

Data Structures

class  TimePoint
 Represents a point in time. More...
 
class  Timer
 A wrapper class for the EtcPal timer type. More...
 

Functions

std::string DurationToString (int32_t duration_ms) noexcept
 Get a string represention of a millisecond duration. More...
 
TimePoint operators
constexpr int32_t operator- (const TimePoint &a, const TimePoint &b) noexcept
 
constexpr bool operator== (const TimePoint &a, const TimePoint &b) noexcept
 
constexpr bool operator!= (const TimePoint &a, const TimePoint &b) noexcept
 
constexpr bool operator< (const TimePoint &a, const TimePoint &b) noexcept
 
constexpr bool operator> (const TimePoint &a, const TimePoint &b) noexcept
 
constexpr bool operator<= (const TimePoint &a, const TimePoint &b) noexcept
 
constexpr bool operator>= (const TimePoint &a, const TimePoint &b) noexcept