Euphoria
timepoint.h
Go to the documentation of this file.
1 #pragma once
2 
3 
4 #include <chrono>
5 
6 namespace eu::core
7 {
8  using TimePoint = std::chrono::time_point<std::chrono::steady_clock>;
9 
10  TimePoint
12 
13  float
14  get_seconds_between(const TimePoint& start, const TimePoint& end);
15 }
std::chrono::time_point< std::chrono::steady_clock > TimePoint
Definition: timepoint.h:8
TimePoint get_current_timepoint()
Definition: timepoint.cc:6
float get_seconds_between(const TimePoint &start, const TimePoint &end)
Definition: timepoint.cc:12