summaryrefslogtreecommitdiff
path: root/src/utils/time.h
blob: f7e9361cfe5f8d85864193f49e500784275d73ae (plain)
1
2
3
4
5
6
7
8
9
#pragma once

#include <stdint.h>

constexpr int64_t NANO_TO_SECOND = 1000000000;

int64_t nano_sleep(uint64_t nano_seconds);

int64_t nano_time();