Morph
2b87305d31
general: Convert source file copyright comments over to SPDX
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.
4 years ago
bunnei
1c8d749458
core: core_timing_util: Optimize core timing math.
- Avoids a lot of unnecessary 128-bit math for imperceptible accuracy.
5 years ago
bunnei
deb3536936
Revert "core: Fix clang build"
5 years ago
Lioncash
18636013c9
core: Fix clang build
Recent changes to the build system that made more warnings be flagged as
errors caused building via clang to break.
Fixes #4795
5 years ago
Lioncash
96214f8600
core_timing: Remove unused header
5 years ago
Fernando Sahmkow
f0f2fc4243
SingleCore: Use Cycle Timing instead of Host Timing.
6 years ago
Fernando Sahmkow
564713fb46
Common/Tests: Address Feedback
6 years ago
Fernando Sahmkow
e99a10917e
Core: Implement a Host Timer.
6 years ago
Fernando Sahmkow
6fc0790f3a
Core: Set all hardware emulation constants in a single file.
6 years ago
Lioncash
debd00b300
core/core_timing_util: Amend casing of cyclesTo* functions
Makes the casing consistent with all of our general function naming
conventions.
7 years ago
Lioncash
97882b84a8
core/core_timing_util: Use std::chrono types for specifying time units
Makes the interface more type-safe and consistent in terms of return
values.
7 years ago
Lioncash
c5d6bd7f15
core/core_timing_utils: Simplify overload set
Removes unused overloads, simplifying the overall interface,
deduplicating some code.
7 years ago
Fernando Sahmkow
435c39e867
Use u128 on Clock Cycles calculation.
7 years ago
Fernando Sahmkow
ab1257e4c2
Correct CNTPCT to use Clock Cycles instead of Cpu Cycles.
7 years ago
Lioncash
1d2de5c4b5
core_timing: Rename CoreTiming namespace to Core::Timing
Places all of the timing-related functionality under the existing Core
namespace to keep things consistent, rather than having the timing
utilities sitting in its own completely separate namespace.
7 years ago
MerryMage
672d7dd573
core_timing: Split off utility functions into core_timing_util
8 years ago