summaryrefslogtreecommitdiffstats
path: root/src/common/wall_clock.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-01-30common: wall_clock: Check precision against the emulated CPU and CNTFRQMorph1-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-30common: wall_clock: Utilize constants for ms, us, and ns ratiosMorph1-2/+2
2022-01-28wall_clock: use standard wall clock if rtsc frequency is too lowgerman771-1/+3
2021-02-20common: wall_clock: Fix integer overflow with StandardWallClock.bunnei1-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-15common: wall_clock: Optimize GetClockCycles/GetCPUCycles to use a single MUL instruction.bunnei1-8/+9
2020-12-03audio_core: Make shadowing and unused parameters errorsLioncash1-2/+2
Moves the audio code closer to enabling warnings as errors in general.
2020-11-02common: Enable warnings as errorsLioncash1-1/+1
Cleans up common so that we can enable warnings as errors.
2020-09-30common/wall_clock: Add virtual destructorsReinUsesLisp1-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-27Common/Kernel: Corrections and small bug fixing.Fernando Sahmkow1-6/+1
2020-06-27HostTiming: Pause the hardware clock on pause.Fernando Sahmkow1-0/+4
2020-06-18Core/HostTiming: Allow events to be advanced manually.Fernando Sahmkow1-4/+5
2020-06-18Common/Tests: Clang Format.Fernando Sahmkow1-4/+8
2020-06-18Common: Refactor & Document Wall clock.Fernando Sahmkow1-8/+5
2020-06-18Common: Implement WallClock Interface and implement a native clock for x64Fernando Sahmkow1-0/+90