summaryrefslogtreecommitdiffstats
path: root/src/core/core_timing.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-07 00:03:05 +0200
committerGitHub <noreply@github.com>2018-08-07 00:03:05 +0200
commit83ef37ca37e052f4293c7693766f36f24754388e (patch)
treec113fb5c96276e1def8d2f4258b66167b0dd0c2b /src/core/core_timing.h
parentMerge pull request #945 from lioncash/exist (diff)
parentperf_stats: Correct literal used for MAX_LAG_TIME_US (diff)
downloadyuzu-83ef37ca37e052f4293c7693766f36f24754388e.tar
yuzu-83ef37ca37e052f4293c7693766f36f24754388e.tar.gz
yuzu-83ef37ca37e052f4293c7693766f36f24754388e.tar.bz2
yuzu-83ef37ca37e052f4293c7693766f36f24754388e.tar.lz
yuzu-83ef37ca37e052f4293c7693766f36f24754388e.tar.xz
yuzu-83ef37ca37e052f4293c7693766f36f24754388e.tar.zst
yuzu-83ef37ca37e052f4293c7693766f36f24754388e.zip
Diffstat (limited to 'src/core/core_timing.h')
-rw-r--r--src/core/core_timing.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/core_timing.h b/src/core/core_timing.h
index 5bbde47f4..dfa161c0d 100644
--- a/src/core/core_timing.h
+++ b/src/core/core_timing.h
@@ -17,6 +17,7 @@
* ScheduleEvent(periodInCycles - cyclesLate, callback, "whatever")
*/
+#include <chrono>
#include <functional>
#include <string>
#include "common/common_types.h"
@@ -86,7 +87,7 @@ void ClearPendingEvents();
void ForceExceptionCheck(s64 cycles);
-u64 GetGlobalTimeUs();
+std::chrono::microseconds GetGlobalTimeUs();
int GetDowncount();