diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-03-07 10:54:13 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-07 10:54:13 -0500 |
| commit | 4bdcafda5807c2882b57bd0c790c798621f98f95 (patch) | |
| tree | a7531c65e2ddec1122fc071d44c8106c48352ce3 /src/video_core/gpu.cpp | |
| parent | 0c4bb90be2f626ce016f1ecd4c8d297f09d754a3 (diff) | |
| parent | 38db5c20267ca50ecb23257e361471c89e7f32a5 (diff) | |
Merge pull request #9889 from Morph1984/time-is-ticking
core_timing: Reduce CPU usage on Windows
Diffstat (limited to 'src/video_core/gpu.cpp')
| -rw-r--r-- | src/video_core/gpu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index 7024a19cf8..2e7f9c5edb 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -197,7 +197,7 @@ struct GPU::Impl { constexpr u64 gpu_ticks_num = 384; constexpr u64 gpu_ticks_den = 625; - u64 nanoseconds = system.CoreTiming().GetGlobalTimeNs().count(); + u64 nanoseconds = system.CoreTiming().GetCPUTimeNs().count(); if (Settings::values.use_fast_gpu_time.GetValue()) { nanoseconds /= 256; } |
