aboutsummaryrefslogtreecommitdiff
path: root/src/timer.h
blob: aed1b61173dd4191be5e504765780d76ca5c2790 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include <chrono>

namespace timer {

std::chrono::time_point<std::chrono::high_resolution_clock> now();

double millisecondsSince(
	std::chrono::time_point<std::chrono::high_resolution_clock>& pit);

}