summaryrefslogtreecommitdiff
path: root/src/common/wall_clock.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* common: wall_clock: Check precision against the emulated CPU and CNTFRQGravatar Morph2022-01-301-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.
* common: wall_clock: Utilize constants for ms, us, and ns ratiosGravatar Morph2022-01-301-2/+2
|
* wall_clock: use standard wall clock if rtsc frequency is too lowGravatar german772022-01-271-1/+3
|
* common: wall_clock: Fix integer overflow with StandardWallClock.Gravatar bunnei2021-02-191-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.
* common: wall_clock: Optimize GetClockCycles/GetCPUCycles to use a single MUL ↵Gravatar bunnei2021-02-151-8/+9
| | | | instruction.
* audio_core: Make shadowing and unused parameters errorsGravatar Lioncash2020-12-031-2/+2
| | | | Moves the audio code closer to enabling warnings as errors in general.
* common: Enable warnings as errorsGravatar Lioncash2020-11-021-1/+1
| | | | Cleans up common so that we can enable warnings as errors.
* common/wall_clock: Add virtual destructorsGravatar ReinUsesLisp2020-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/Kernel: Corrections and small bug fixing.Gravatar Fernando Sahmkow2020-06-271-6/+1
|
* HostTiming: Pause the hardware clock on pause.Gravatar Fernando Sahmkow2020-06-271-0/+4
|
* Core/HostTiming: Allow events to be advanced manually.Gravatar Fernando Sahmkow2020-06-181-4/+5
|
* Common/Tests: Clang Format.Gravatar Fernando Sahmkow2020-06-181-4/+8
|
* Common: Refactor & Document Wall clock.Gravatar Fernando Sahmkow2020-06-181-8/+5
|
* Common: Implement WallClock Interface and implement a native clock for x64Gravatar Fernando Sahmkow2020-06-181-0/+90