aboutsummaryrefslogtreecommitdiff
path: root/src/core/core_timing.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-02-25 12:28:55 -0400
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-27 11:35:10 -0400
commit18dcb0934217628711c5b1d22fd6d7635e683e3f (patch)
tree426f78eb11aa79e0d1c7470b966fbae8ea8e3e6d /src/core/core_timing.h
parent6bf137a0e81fa3fae030687f10ac2c1e12d824ff (diff)
HostTiming: Pause the hardware clock on pause.
Diffstat (limited to 'src/core/core_timing.h')
-rw-r--r--src/core/core_timing.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/core_timing.h b/src/core/core_timing.h
index 707c8ef0c..c70b605c8 100644
--- a/src/core/core_timing.h
+++ b/src/core/core_timing.h
@@ -136,6 +136,7 @@ private:
std::shared_ptr<EventType> ev_lost;
Common::Event event{};
+ Common::Event pause_event{};
Common::SpinLock basic_lock{};
Common::SpinLock advance_lock{};
std::unique_ptr<std::thread> timer_thread;