Fernando Sahmkow
096366ead5
Common: improve native clock.
4 years ago
Morph
99ceb03a1c
general: Convert source file copyright comments over to SPDX
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.
4 years ago
Merry
4052bfb4ad
native_clock: Internal linkage for FencedRDTSC
__forceinline required on MSVC for function to be inlined
4 years ago
merry
fdd4d019ef
native_clock: Use lfence with rdtsc
4 years ago
merry
979e53b87b
native_clock: Use writeback from CAS to avoid double-loading
4 years ago
Merry
c562c1d6be
native_clock: Use AtomicLoad128
4 years ago
ameerj
923decae5a
common: Reduce unused includes
4 years ago
Morph
4e766280c4
common: wall_clock: Utilize constants for ms, us, and ns ratios
4 years ago
Morph
f919498f8f
native_clock: Wait for less time in EstimateRDTSCFrequency
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.
4 years ago
Morph
762b8ad448
general: Replace high_resolution_clock with steady_clock
On some OSes, high_resolution_clock is an alias to system_clock and is not monotonic in nature. Replace this with steady_clock.
4 years ago
bunnei
0a91599aec
common: Merge uint128 to a single header file with inlines.
5 years ago
Fernando Sahmkow
53d92318b8
X86/NativeClock: Reimplement RTDSC access to be lock free.
5 years ago
Fernando Sahmkow
d4f871cb6a
X86/NativeClock: Improve performance of clock calculations on hot path.
5 years ago
Lioncash
1ea6bdef05
audio_core: Make shadowing and unused parameters errors
Moves the audio code closer to enabling warnings as errors in general.
5 years ago
Fernando Sahmkow
2f8947583f
Core/Common: Address Feedback.
6 years ago
Fernando Sahmkow
534466754f
X64 Clock: Reduce accuracy to be less or equal to guest accuracy.
6 years ago
Fernando Sahmkow
18dcb09342
HostTiming: Pause the hardware clock on pause.
6 years ago
Fernando Sahmkow
e3524d1142
Common: Refactor & Document Wall clock.
6 years ago
Fernando Sahmkow
234b5ff6a9
Common: Implement WallClock Interface and implement a native clock for x64
6 years ago