aboutsummaryrefslogtreecommitdiff
path: root/src/common/steady_clock.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [common] remove presumed 'hot path' for QPC of 10MHz on SteadyClock::Now() ↵lizzie2026-07-071-16/+4
| | | | | | | | | | | | | | | | (#4162) while this may be true, it isn't required to have this quick path for this function because: a) arm64 b) counter/freq and counter%freq is a single idiv c) 2 muls, 2 div isnt that insanely expensive d) `static_assert(period::den % TenMHz == 0)` Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4162 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
* [port] windows 7 support (#3105)lizzie2025-11-301-9/+18
| | | | | | | | | Signed-off-by: lizzie lizzie@eden-emu.dev Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3105 Reviewed-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* (wall, native)_clock: Rework NativeClockMorph2023-06-071-3/+2
|
* steady_clock: Introduce a real time clockMorph2023-03-071-0/+25
|
* common: Implement a high resolution steady clockMorph2023-03-051-0/+56
This implementation provides a consistent, high performance, and high resolution clock where/when std::chrono::steady_clock does not provide sufficient precision.