diff options
| author | bunnei <bunneidev@gmail.com> | 2020-07-18 01:45:10 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-18 01:45:10 -0400 |
| commit | 4a8cb9a70671db5684dadf10061f3c3cf1d27741 (patch) | |
| tree | 76ff712dc903f71245bd6108519b125ca6fac99e /src/core/tools/freezer.h | |
| parent | bbeea7502c5bff0f6343c2a4caaa2634d0e59028 (diff) | |
| parent | 0435b7d361d45aa5eccb552d01df4cea3f4016c4 (diff) | |
Merge pull request #4348 from lioncash/nano
core_timing: Make usage of nanoseconds more consistent in the interface
Diffstat (limited to 'src/core/tools/freezer.h')
| -rw-r--r-- | src/core/tools/freezer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/tools/freezer.h b/src/core/tools/freezer.h index 62fc6aa6c..8438783d5 100644 --- a/src/core/tools/freezer.h +++ b/src/core/tools/freezer.h @@ -5,6 +5,7 @@ #pragma once #include <atomic> +#include <chrono> #include <memory> #include <mutex> #include <optional> @@ -72,7 +73,7 @@ public: std::vector<Entry> GetEntries() const; private: - void FrameCallback(u64 userdata, s64 cycles_late); + void FrameCallback(u64 userdata, std::chrono::nanoseconds ns_late); void FillEntryReads(); std::atomic_bool active{false}; |
