summaryrefslogtreecommitdiffstats
path: root/src/common/wall_clock.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-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-01-30common: wall_clock: Check precision against the emulated CPU and CNTFRQMorph1-2/+2
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-0/+4
2020-12-03audio_core: Make shadowing and unused parameters errorsLioncash1-3/+3
Moves the audio code closer to enabling warnings as errors in general.
2020-09-30common/wall_clock: Add virtual destructorsReinUsesLisp1-0/+2
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-08-15common: Make use of [[nodiscard]] where applicableLioncash1-8/+8
Now that clang-format makes [[nodiscard]] attributes format sensibly, we can apply them to several functions within the common library to allow the compiler to complain about any misuses of the functions.
2020-06-27HostTiming: Pause the hardware clock on pause.Fernando Sahmkow1-0/+2
2020-06-18Common/Tests: Clang Format.Fernando Sahmkow1-2/+2
2020-06-18Common: Refactor & Document Wall clock.Fernando Sahmkow1-1/+12
2020-06-18Common: Implement WallClock Interface and implement a native clock for x64Fernando Sahmkow1-0/+40