summaryrefslogtreecommitdiffstats
path: root/src/common/x64/native_clock.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (wall, native)_clock: Add GetGPUTickMorph2023-06-081-0/+3
| | | | Allows us to directly calculate the GPU tick without double conversion to and from the host clock tick.
* (wall, native)_clock: Rework NativeClockMorph2023-06-081-39/+17
|
* native_clock: Re-adjust the RDTSC frequencyMorph2023-03-081-0/+5
| | | | | 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: Use atomic ops as before.Fernando Sahmkow2022-06-281-5/+9
|
* Native Clock: remove inaccuracy mask.Fernando Sahmkow2022-06-281-5/+0
|
* Common: improve native clock.Fernando Sahmkow2022-06-281-8/+5
|
* general: Convert source file copyright comments over to SPDXMorph2022-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.
* common: Reduce unused includesameerj2022-03-191-2/+0
|
* X86/NativeClock: Reimplement RTDSC access to be lock free.Fernando Sahmkow2021-01-021-8/+14
|
* X86/NativeClock: Improve performance of clock calculations on hot path.Fernando Sahmkow2021-01-021-0/+7
|
* audio_core: Make shadowing and unused parameters errorsLioncash2020-12-031-1/+2
| | | | Moves the audio code closer to enabling warnings as errors in general.
* common: Enable warnings as errorsLioncash2020-11-021-1/+1
| | | | Cleans up common so that we can enable warnings as errors.
* common/wall_clock: Add virtual destructorsReinUsesLisp2020-09-301-1/+1
| | | | | | | | From -fsanitize=address, this code wasn't calling the proper destructor. Adding virtual destructors for each inherited class and the base class fixes this bug. While we are at it, mark the functions as final.
* Common/NativeClockx86: Reduce native clock accuracy further.Fernando Sahmkow2020-06-271-1/+1
|
* X64 Clock: Reduce accuracy to be less or equal to guest accuracy.Fernando Sahmkow2020-06-271-0/+5
|
* HostTiming: Pause the hardware clock on pause.Fernando Sahmkow2020-06-271-0/+2
|
* Common: Implement WallClock Interface and implement a native clock for x64Fernando Sahmkow2020-06-181-0/+41