summaryrefslogtreecommitdiff
path: root/src/common/x64/native_clock.cpp
AgeCommit message (Collapse)Author
2022-04-23general: Convert source file copyright comments over to SPDXMorph
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-04-03native_clock: Internal linkage for FencedRDTSCMerry
__forceinline required on MSVC for function to be inlined
2022-04-03native_clock: Use lfence with rdtscmerry
2022-04-02native_clock: Use writeback from CAS to avoid double-loadingmerry
2022-04-02native_clock: Use AtomicLoad128Merry
2022-03-19common: Reduce unused includesameerj
2022-01-30common: wall_clock: Utilize constants for ms, us, and ns ratiosMorph
2021-12-03native_clock: Wait for less time in EstimateRDTSCFrequencyMorph
In my testing, waiting for 200ms provided the same level of precision as the previous implementation when estimating the RDTSC frequency. This significantly improves the yuzu executable launch times since we reduced the wait time from 3 seconds to 200 milliseconds.
2021-12-02general: Replace high_resolution_clock with steady_clockMorph
On some OSes, high_resolution_clock is an alias to system_clock and is not monotonic in nature. Replace this with steady_clock.
2021-02-15common: Merge uint128 to a single header file with inlines.bunnei
2021-01-02X86/NativeClock: Reimplement RTDSC access to be lock free.Fernando Sahmkow
2021-01-02X86/NativeClock: Improve performance of clock calculations on hot path.Fernando Sahmkow
2020-12-03audio_core: Make shadowing and unused parameters errorsLioncash
Moves the audio code closer to enabling warnings as errors in general.
2020-06-27Core/Common: Address Feedback.Fernando Sahmkow
2020-06-27X64 Clock: Reduce accuracy to be less or equal to guest accuracy.Fernando Sahmkow
2020-06-27HostTiming: Pause the hardware clock on pause.Fernando Sahmkow
2020-06-18Common: Refactor & Document Wall clock.Fernando Sahmkow
2020-06-18Common: Implement WallClock Interface and implement a native clock for x64Fernando Sahmkow