summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core_timing.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/core_timing.h b/src/core/core_timing.h
index ed5de9b97..72faaab64 100644
--- a/src/core/core_timing.h
+++ b/src/core/core_timing.h
@@ -72,6 +72,11 @@ public:
this->is_multicore = is_multicore;
}
+ /// Check if it's using host timing.
+ bool IsHostTiming() const {
+ return is_multicore;
+ }
+
/// Pauses/Unpauses the execution of the timer thread.
void Pause(bool is_paused);