Core Timing: General corrections and added tests.

This commit is contained in:
Fernando Sahmkow 2019-10-08 17:18:06 -04:00 committed by FernandoS27
parent c9a1129c95
commit 65aff6930b
3 changed files with 165 additions and 7 deletions

View file

@ -130,6 +130,7 @@ private:
s64 global_timer = 0;
s64 idled_cycles = 0;
s64 slice_length = 0;
u64 accumulated_ticks = 0;
std::array<s64, num_cpu_cores> downcounts{};
// Slice of time assigned to each core per run.
std::array<s64, num_cpu_cores> time_slice{};