diff options
author | Lioncash <mathew1800@gmail.com> | 2020-11-25 21:21:03 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-12-03 06:54:31 +0100 |
commit | 1ea6bdef058a789e2771511f741bffcca73c3525 (patch) | |
tree | 6bcfaa3649add0bb73ff5bbcf982197439c896d1 /src/common/x64/native_clock.cpp | |
parent | Merge pull request #4959 from Morph1984/emulated-controller-styleset (diff) | |
download | yuzu-1ea6bdef058a789e2771511f741bffcca73c3525.tar yuzu-1ea6bdef058a789e2771511f741bffcca73c3525.tar.gz yuzu-1ea6bdef058a789e2771511f741bffcca73c3525.tar.bz2 yuzu-1ea6bdef058a789e2771511f741bffcca73c3525.tar.lz yuzu-1ea6bdef058a789e2771511f741bffcca73c3525.tar.xz yuzu-1ea6bdef058a789e2771511f741bffcca73c3525.tar.zst yuzu-1ea6bdef058a789e2771511f741bffcca73c3525.zip |
Diffstat (limited to 'src/common/x64/native_clock.cpp')
-rw-r--r-- | src/common/x64/native_clock.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/x64/native_clock.cpp b/src/common/x64/native_clock.cpp index 424b39b1f..eb8a7782f 100644 --- a/src/common/x64/native_clock.cpp +++ b/src/common/x64/native_clock.cpp @@ -43,10 +43,10 @@ u64 EstimateRDTSCFrequency() { } namespace X64 { -NativeClock::NativeClock(u64 emulated_cpu_frequency, u64 emulated_clock_frequency, - u64 rtsc_frequency) - : WallClock(emulated_cpu_frequency, emulated_clock_frequency, true), rtsc_frequency{ - rtsc_frequency} { +NativeClock::NativeClock(u64 emulated_cpu_frequency_, u64 emulated_clock_frequency_, + u64 rtsc_frequency_) + : WallClock(emulated_cpu_frequency_, emulated_clock_frequency_, true), rtsc_frequency{ + rtsc_frequency_} { _mm_mfence(); last_measure = __rdtsc(); accumulated_ticks = 0U; |