From 4c9ed1d974657b8b32c8a86239c105ca54b30be5 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Sun, 23 Jan 2022 23:57:20 +0000 Subject: IVGCVSW-6708 Break Profiling Dependence on IRuntime ExternalProfilingOptions Change-Id: I30a46f3368bbbf33019eac4fa1245f6ff69deacd Signed-off-by: Jim Flynn --- src/profiling/PeriodicCounterSelectionCommandHandler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/profiling/PeriodicCounterSelectionCommandHandler.cpp') diff --git a/src/profiling/PeriodicCounterSelectionCommandHandler.cpp b/src/profiling/PeriodicCounterSelectionCommandHandler.cpp index cb14ec0a1a..f94cb31f62 100644 --- a/src/profiling/PeriodicCounterSelectionCommandHandler.cpp +++ b/src/profiling/PeriodicCounterSelectionCommandHandler.cpp @@ -6,7 +6,7 @@ #include "PeriodicCounterSelectionCommandHandler.hpp" #include "ProfilingUtils.hpp" -#include +#include #include #include @@ -86,9 +86,9 @@ void PeriodicCounterSelectionCommandHandler::operator()(const arm::pipe::Packet& // Get the capture data uint32_t capturePeriod = captureData.GetCapturePeriod(); // Validate that the capture period is within the acceptable range. - if (capturePeriod > 0 && capturePeriod < LOWEST_CAPTURE_PERIOD) + if (capturePeriod > 0 && capturePeriod < arm::pipe::LOWEST_CAPTURE_PERIOD) { - capturePeriod = LOWEST_CAPTURE_PERIOD; + capturePeriod = arm::pipe::LOWEST_CAPTURE_PERIOD; } const std::vector& counterIds = captureData.GetCounterIds(); -- cgit v1.2.1