openblocks/core/src/timeutil.h

8 lines
No EOL
184 B
C++

#pragma once
#include <cstdint>
typedef uint64_t tu_time_t;
// Provides a high-accuracy time since the program started in microseconds (via std::chrono)
tu_time_t tu_clock_micros();