german77
e4c63d432d
wall_clock: use standard wall clock if rtsc frequency is too low
4 years ago
bunnei
3acb265c9e
common: wall_clock: Fix integer overflow with StandardWallClock.
- 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.
5 years ago
bunnei
592a649918
common: wall_clock: Optimize GetClockCycles/GetCPUCycles to use a single MUL instruction.
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
Lioncash
4a4b685a04
common: Enable warnings as errors
Cleans up common so that we can enable warnings as errors.
5 years ago
ReinUsesLisp
771a9c21cc
common/wall_clock: Add virtual destructors
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.
5 years ago
Fernando Sahmkow
7fd7d05838
Common/Kernel: Corrections and small bug fixing.
6 years ago
Fernando Sahmkow
18dcb09342
HostTiming: Pause the hardware clock on pause.
6 years ago
Fernando Sahmkow
49a7e0984a
Core/HostTiming: Allow events to be advanced manually.
6 years ago
Fernando Sahmkow
1bd706344e
Common/Tests: Clang Format.
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