Fernando Sahmkow
1e6f8aba04
Core: Set all hardware emulation constants in a single file.
6 years ago
Lioncash
42f5fd0ab3
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
79189c7e3e
core/core_timing_utils: Simplify overload set
Removes unused overloads, simplifying the overall interface,
deduplicating some code.
7 years ago
Lioncash
0fa039d8d0
core_timing_util: Silence sign-comparison warnings
We can just make the conversion explicit instead of implicit here to
silence -Wsign-compare warnings.
7 years ago
Fernando Sahmkow
a8d4927e29
Corrections, documenting and fixes.
7 years ago
Fernando Sahmkow
ecccfe0337
Use u128 on Clock Cycles calculation.
7 years ago
Fernando Sahmkow
5b7ec71fb7
Correct CNTPCT to use Clock Cycles instead of Cpu Cycles.
7 years ago
Lioncash
48d9d66dc5
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
44646e2ea0
core_timing: Split off utility functions into core_timing_util
8 years ago