summaryrefslogtreecommitdiff
path: root/src/core/core_timing.h
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-10-08 17:18:06 -0400
committerGravatar FernandoS272019-10-09 12:30:33 -0400
commit65aff6930bdfe1ecbf7e3c7eec967c2c6149aaef (patch)
treed111578abe39248c638283a7f735f5dbc140e21d /src/core/core_timing.h
parentTests: Eliminate old Core Timing Tests (diff)
downloadyuzu-65aff6930bdfe1ecbf7e3c7eec967c2c6149aaef.tar.gz
yuzu-65aff6930bdfe1ecbf7e3c7eec967c2c6149aaef.tar.xz
yuzu-65aff6930bdfe1ecbf7e3c7eec967c2c6149aaef.zip
Core Timing: General corrections and added tests.
Diffstat (limited to 'src/core/core_timing.h')
-rw-r--r--src/core/core_timing.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/core_timing.h b/src/core/core_timing.h
index ec0a6d2c0..8bba45beb 100644
--- a/src/core/core_timing.h
+++ b/src/core/core_timing.h
@@ -130,6 +130,7 @@ private:
130 s64 global_timer = 0; 130 s64 global_timer = 0;
131 s64 idled_cycles = 0; 131 s64 idled_cycles = 0;
132 s64 slice_length = 0; 132 s64 slice_length = 0;
133 u64 accumulated_ticks = 0;
133 std::array<s64, num_cpu_cores> downcounts{}; 134 std::array<s64, num_cpu_cores> downcounts{};
134 // Slice of time assigned to each core per run. 135 // Slice of time assigned to each core per run.
135 std::array<s64, num_cpu_cores> time_slice{}; 136 std::array<s64, num_cpu_cores> time_slice{};