aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/PeriodicCounterSelectionCommandHandler.cpp
diff options
context:
space:
mode:
authorJim Flynn <jim.flynn@arm.com>2022-01-23 23:57:20 +0000
committerJim Flynn <jim.flynn@arm.com>2022-02-14 09:51:24 +0000
commit4c9ed1d974657b8b32c8a86239c105ca54b30be5 (patch)
tree9f3d59d9626f333e3626c61d17ab984692e43c86 /src/profiling/PeriodicCounterSelectionCommandHandler.cpp
parentd688e86c5edf19b2de556d198d6cb8688c6919da (diff)
downloadarmnn-4c9ed1d974657b8b32c8a86239c105ca54b30be5.tar.gz
IVGCVSW-6708 Break Profiling Dependence on IRuntime ExternalProfilingOptions
Change-Id: I30a46f3368bbbf33019eac4fa1245f6ff69deacd Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/PeriodicCounterSelectionCommandHandler.cpp')
-rw-r--r--src/profiling/PeriodicCounterSelectionCommandHandler.cpp6
1 files changed, 3 insertions, 3 deletions
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 <armnn/Types.hpp>
+#include <armnn/profiling/ProfilingOptions.hpp>
#include <armnn/utility/NumericCast.hpp>
#include <fmt/format.h>
@@ -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<uint16_t>& counterIds = captureData.GetCounterIds();