Commit Graph

8 Commits

Author SHA1 Message Date
Fernando Sahmkow
f72bc5ff6f Core: Set all hardware emulation constants in a single file. 2020-02-11 20:19:11 -04:00
Lioncash
2aafcf0c2d core/core_timing_util: Amend casing of cyclesTo* functions
Makes the casing consistent with all of our general function naming
conventions.
2019-06-04 20:31:46 -04:00
Lioncash
7628ba9390 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.
2019-06-04 20:31:24 -04:00
Lioncash
54f3f49050 core/core_timing_utils: Simplify overload set
Removes unused overloads, simplifying the overall interface,
deduplicating some code.
2019-06-04 19:44:05 -04:00
Fernando Sahmkow
fb6c13a924 Use u128 on Clock Cycles calculation. 2019-02-15 22:57:16 -04:00
Fernando Sahmkow
917aafd891 Correct CNTPCT to use Clock Cycles instead of Cpu Cycles. 2019-02-15 22:55:29 -04:00
Lioncash
8b6005bca5 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.
2019-02-12 12:42:17 -05:00
MerryMage
152b33eb33 core_timing: Split off utility functions into core_timing_util 2018-07-24 11:03:24 +01:00