summaryrefslogtreecommitdiff
path: root/src/common/x64/native_clock.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (wall, native)_clock: Add GetGPUTickGravatar Morph2023-06-071-1/+6
| | | | Allows us to directly calculate the GPU tick without double conversion to and from the host clock tick.
* (wall, native)_clock: Rework NativeClockGravatar Morph2023-06-071-142/+23
|
* x64: Simplify RDTSC on non-MSVC compilersGravatar Morph2023-03-271-8/+5
| | | | Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
* native_clock: Wait for 10 seconds instead of 30Gravatar Morph2023-03-071-3/+3
| | | | It was experimentally determined to be sufficient.
* native_clock: Use RealTimeClock instead of SteadyClockGravatar Morph2023-03-071-4/+4
| | | | We want to synchronize RDTSC to real time.
* native_clock: Re-adjust the RDTSC frequencyGravatar Morph2023-03-071-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.
* native_clock: Round RDTSC frequency to the nearest 1000Gravatar Morph2023-03-051-5/+12
|
* Revert Coretiming PRs 8531 and 7454 (#8591)Gravatar Maide2022-07-271-1/+1
|
* Adress Feedback.Gravatar Fernando Sahmkow2022-06-301-1/+0
|
* Native clock: Use atomic ops as before.Gravatar Fernando Sahmkow2022-06-281-19/+20
|
* Native Clock: remove inaccuracy mask.Gravatar Fernando Sahmkow2022-06-281-1/+1
|
* Core: Fix tests.Gravatar Fernando Sahmkow2022-06-281-0/+1
|
* Common: improve native clock.Gravatar Fernando Sahmkow2022-06-281-21/+19
|
* general: Convert source file copyright comments over to SPDXGravatar Morph2022-04-231-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.
* native_clock: Internal linkage for FencedRDTSCGravatar Merry2022-04-031-2/+4
| | | | __forceinline required on MSVC for function to be inlined
* native_clock: Use lfence with rdtscGravatar merry2022-04-031-14/+33
|
* native_clock: Use writeback from CAS to avoid double-loadingGravatar merry2022-04-021-4/+6
|
* native_clock: Use AtomicLoad128Gravatar Merry2022-04-021-2/+2
|
* common: Reduce unused includesGravatar ameerj2022-03-191-2/+0
|
* common: wall_clock: Utilize constants for ms, us, and ns ratiosGravatar Morph2022-01-301-3/+3
|
* native_clock: Wait for less time in EstimateRDTSCFrequencyGravatar Morph2021-12-031-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.
* general: Replace high_resolution_clock with steady_clockGravatar Morph2021-12-021-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.
* common: Merge uint128 to a single header file with inlines.Gravatar bunnei2021-02-151-58/+0
|
* X86/NativeClock: Reimplement RTDSC access to be lock free.Gravatar Fernando Sahmkow2021-01-021-14/+27
|
* X86/NativeClock: Improve performance of clock calculations on hot path.Gravatar Fernando Sahmkow2021-01-021-5/+64
|
* audio_core: Make shadowing and unused parameters errorsGravatar Lioncash2020-12-031-4/+4
| | | | Moves the audio code closer to enabling warnings as errors in general.
* Core/Common: Address Feedback.Gravatar Fernando Sahmkow2020-06-271-2/+2
|
* X64 Clock: Reduce accuracy to be less or equal to guest accuracy.Gravatar Fernando Sahmkow2020-06-271-1/+2
|
* HostTiming: Pause the hardware clock on pause.Gravatar Fernando Sahmkow2020-06-271-0/+7
|
* Common: Refactor & Document Wall clock.Gravatar Fernando Sahmkow2020-06-181-40/+7
|
* Common: Implement WallClock Interface and implement a native clock for x64Gravatar Fernando Sahmkow2020-06-181-0/+128