aboutsummaryrefslogtreecommitdiff
path: root/src/core/core_timing.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-10-08 17:18:06 -0400
committerFernandoS27 <fsahmkow27@gmail.com>2019-10-09 12:30:33 -0400
commite96ac0e2a33bebc256b7a8516ee0960dc1541a82 (patch)
treed111578abe39248c638283a7f735f5dbc140e21d /src/core/core_timing.h
parenteb2ffec5a48c683e263fadb325dba478ba55aaa1 (diff)
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 ec0a6d2c09..8bba45beba 100644
--- a/src/core/core_timing.h
+++ b/src/core/core_timing.h
@@ -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{};