Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2024-01-24 | Rework time service to fix time passing offline. | Kelebek1 | 1 | -17/+15 | |
2023-11-27 | qt: add cpu_backend configuration | amazingfate | 1 | -2/+2 | |
2023-10-08 | common: add arm64 native clock | Liam | 1 | -1/+7 | |
2023-07-28 | wall_clock: Increase precision requirements | Morph | 1 | -2/+2 | |
We are providing a conversion to nanoseconds in NativeClock, which is more precise than the GPU tick. | |||||
2023-06-08 | (wall, native)_clock: Add GetGPUTick | Morph | 1 | -2/+6 | |
Allows us to directly calculate the GPU tick without double conversion to and from the host clock tick. | |||||
2023-06-08 | (wall, native)_clock: Rework NativeClock | Morph | 1 | -45/+28 | |
2023-03-05 | core_timing: Use higher precision sleeps on Windows | Morph | 1 | -0/+5 | |
The precision of sleep_for and wait_for is limited to 1-1.5ms on Windows. Using SleepForOneTick() allows us to sleep for exactly one interval of the current timer resolution. This allows us to take advantage of systems that have a timer resolution of 0.5ms to reduce CPU overhead in the event loop. | |||||
2023-03-05 | wall_clock: Make use of SteadyClock | Morph | 1 | -23/+11 | |
2022-07-06 | common/x64: Use TSC clock rate from CPUID when available | Marshall Mohror | 1 | -1/+1 | |
The current method used to estimate the TSC is fairly accurate - within a few kHz - but the exact value can be extracted from CPUID if available. | |||||
2022-04-23 | general: Convert source file copyright comments over to SPDX | Morph | 1 | -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-03-19 | common: Reduce unused includes | ameerj | 1 | -2/+0 | |
2022-01-30 | common: wall_clock: Check precision against the emulated CPU and CNTFRQ | Morph | 1 | -6/+10 | |
In addition to requiring nanosecond precision, using the native clock requires that the hardware TSC has a precision greater than the emulated CPU and its clock counter. | |||||
2022-01-30 | common: wall_clock: Utilize constants for ms, us, and ns ratios | Morph | 1 | -2/+2 | |
2022-01-28 | wall_clock: use standard wall clock if rtsc frequency is too low | german77 | 1 | -1/+3 | |
2021-02-20 | common: wall_clock: Fix integer overflow with StandardWallClock. | bunnei | 1 | -7/+8 | |
- Previous optimized impl. resulted in an integer overflow, so revert. - This is our slow/fallback path that should never be really be used, so the optimization in unimportant. | |||||
2021-02-15 | common: wall_clock: Optimize GetClockCycles/GetCPUCycles to use a single MUL instruction. | bunnei | 1 | -8/+9 | |
2020-12-03 | audio_core: Make shadowing and unused parameters errors | Lioncash | 1 | -2/+2 | |
Moves the audio code closer to enabling warnings as errors in general. | |||||
2020-11-02 | common: Enable warnings as errors | Lioncash | 1 | -1/+1 | |
Cleans up common so that we can enable warnings as errors. | |||||
2020-09-30 | common/wall_clock: Add virtual destructors | ReinUsesLisp | 1 | -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. | |||||
2020-06-27 | Common/Kernel: Corrections and small bug fixing. | Fernando Sahmkow | 1 | -6/+1 | |
2020-06-27 | HostTiming: Pause the hardware clock on pause. | Fernando Sahmkow | 1 | -0/+4 | |
2020-06-18 | Core/HostTiming: Allow events to be advanced manually. | Fernando Sahmkow | 1 | -4/+5 | |
2020-06-18 | Common/Tests: Clang Format. | Fernando Sahmkow | 1 | -4/+8 | |
2020-06-18 | Common: Refactor & Document Wall clock. | Fernando Sahmkow | 1 | -8/+5 | |
2020-06-18 | Common: Implement WallClock Interface and implement a native clock for x64 | Fernando Sahmkow | 1 | -0/+90 | |