summaryrefslogtreecommitdiff
path: root/src/common/x64/native_clock.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-01-24Rework time service to fix time passing offline.Gravatar Kelebek11-15/+11
2023-06-07(wall, native)_clock: Add GetGPUTickGravatar Morph1-1/+6
Allows us to directly calculate the GPU tick without double conversion to and from the host clock tick.
2023-06-07(wall, native)_clock: Rework NativeClockGravatar Morph1-142/+23
2023-03-27x64: Simplify RDTSC on non-MSVC compilersGravatar Morph1-8/+5
Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
2023-03-07native_clock: Wait for 10 seconds instead of 30Gravatar Morph1-3/+3
It was experimentally determined to be sufficient.
2023-03-07native_clock: Use RealTimeClock instead of SteadyClockGravatar Morph1-4/+4
We want to synchronize RDTSC to real time.
2023-03-07native_clock: Re-adjust the RDTSC frequencyGravatar Morph1-5/+29
The RDTSC frequency reported by CPUID is not accurate to its true frequency. We will spawn a separate thread to calculate the true RDTSC frequency after a measurement period of 30 seconds has elapsed.
2023-03-05native_clock: Round RDTSC frequency to the nearest 1000Gravatar Morph1-5/+12
2022-07-27Revert Coretiming PRs 8531 and 7454 (#8591)Gravatar Maide1-1/+1
2022-06-30Adress Feedback.Gravatar Fernando Sahmkow1-1/+0
2022-06-28Native clock: Use atomic ops as before.Gravatar Fernando Sahmkow1-19/+20
2022-06-28Native Clock: remove inaccuracy mask.Gravatar Fernando Sahmkow1-1/+1
2022-06-28Core: Fix tests.Gravatar Fernando Sahmkow1-0/+1
2022-06-28Common: improve native clock.Gravatar Fernando Sahmkow1-21/+19
2022-04-23general: Convert source file copyright comments over to SPDXGravatar Morph1-3/+2
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 FencedRDTSCGravatar Merry1-2/+4
__forceinline required on MSVC for function to be inlined
2022-04-03native_clock: Use lfence with rdtscGravatar merry1-14/+33
2022-04-02native_clock: Use writeback from CAS to avoid double-loadingGravatar merry1-4/+6
2022-04-02native_clock: Use AtomicLoad128Gravatar Merry1-2/+2
2022-03-19common: Reduce unused includesGravatar ameerj1-2/+0
2022-01-30common: wall_clock: Utilize constants for ms, us, and ns ratiosGravatar Morph1-3/+3
2021-12-03native_clock: Wait for less time in EstimateRDTSCFrequencyGravatar Morph1-18/+18
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_clockGravatar Morph1-3/+3
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.Gravatar bunnei1-58/+0
2021-01-02X86/NativeClock: Reimplement RTDSC access to be lock free.Gravatar Fernando Sahmkow1-14/+27
2021-01-02X86/NativeClock: Improve performance of clock calculations on hot path.Gravatar Fernando Sahmkow1-5/+64
2020-12-03audio_core: Make shadowing and unused parameters errorsGravatar Lioncash1-4/+4
Moves the audio code closer to enabling warnings as errors in general.
2020-06-27Core/Common: Address Feedback.Gravatar Fernando Sahmkow1-2/+2
2020-06-27X64 Clock: Reduce accuracy to be less or equal to guest accuracy.Gravatar Fernando Sahmkow1-1/+2
2020-06-27HostTiming: Pause the hardware clock on pause.Gravatar Fernando Sahmkow1-0/+7
2020-06-18Common: Refactor & Document Wall clock.Gravatar Fernando Sahmkow1-40/+7
2020-06-18Common: Implement WallClock Interface and implement a native clock for x64Gravatar Fernando Sahmkow1-0/+128