5#ifndef FLUTTER_FML_TIME_TIME_POINT_H_
6#define FLUTTER_FML_TIME_TIME_POINT_H_
12#include "flutter/fml/time/time_delta.h"
74 explicit constexpr TimePoint(int64_t ticks) : ticks_(ticks) {}
static constexpr TimeDelta FromNanoseconds(int64_t nanos)
constexpr int64_t ToNanoseconds() const
TimePoint(*)() ClockSource
static constexpr TimePoint FromTicks(int64_t ticks)
static constexpr TimePoint Max()
bool operator<=(TimePoint other) const
bool operator==(TimePoint other) const
TimePoint operator-(TimeDelta duration) const
static void SetClockSource(ClockSource source)
TimePoint operator+(TimeDelta duration) const
bool operator<(TimePoint other) const
bool operator!=(TimePoint other) const
TimeDelta ToEpochDelta() const
TimeDelta operator-(TimePoint other) const
bool operator>(TimePoint other) const
static TimePoint CurrentWallTime()
constexpr TimePoint()=default
bool operator>=(TimePoint other) const
static constexpr TimePoint Min()
static constexpr TimePoint FromEpochDelta(TimeDelta ticks)
static float max(float r, float g, float b)
static float min(float r, float g, float b)