diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-02-25 12:28:55 -0400 |
|---|---|---|
| committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-06-27 11:35:10 -0400 |
| commit | fb1d75a78885c2231cea1816150bd06027c12644 (patch) | |
| tree | 426f78eb11aa79e0d1c7470b966fbae8ea8e3e6d /src/common/wall_clock.cpp | |
| parent | 0fd333a248ff67071e33530fde71a2adb408ac9b (diff) | |
HostTiming: Pause the hardware clock on pause.
Diffstat (limited to 'src/common/wall_clock.cpp')
| -rw-r--r-- | src/common/wall_clock.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/wall_clock.cpp b/src/common/wall_clock.cpp index d4d35f4e7a..a46db6bbfb 100644 --- a/src/common/wall_clock.cpp +++ b/src/common/wall_clock.cpp @@ -53,6 +53,10 @@ public: return Common::Divide128On32(temporary, 1000000000).first; } + void Pause(bool is_paused) override { + // Do nothing in this clock type. + } + private: base_time_point start_time; }; |
