aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/ProfilingService.cpp
diff options
context:
space:
mode:
authorJim Flynn <jim.flynn@arm.com>2022-03-10 22:05:42 +0000
committerJim Flynn <jim.flynn@arm.com>2022-03-10 22:43:11 +0000
commit75c14f4241b0225640ee6011a41ed0102f4e742c (patch)
tree1c19b0974e7dd58ef1b266a3022494158675dfda /src/profiling/ProfilingService.cpp
parentdc8f9d9fa46c009eca1bd936b29c9968c9c712bd (diff)
downloadarmnn-75c14f4241b0225640ee6011a41ed0102f4e742c.tar.gz
IVGCVSW-6841 Replace armnn::numeric_cast with arm::pipe::numeric_cast in profiling code
Change-Id: Ib3115694608dee59ced8dc31077e16fe19d0dfea Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/ProfilingService.cpp')
-rw-r--r--src/profiling/ProfilingService.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profiling/ProfilingService.cpp b/src/profiling/ProfilingService.cpp
index f187b398a1..f0d668cc32 100644
--- a/src/profiling/ProfilingService.cpp
+++ b/src/profiling/ProfilingService.cpp
@@ -6,8 +6,8 @@
#include "ProfilingService.hpp"
#include <armnn/Logging.hpp>
-#include <armnn/utility/NumericCast.hpp>
+#include <common/include/NumericCast.hpp>
#include <common/include/ProfilingGuid.hpp>
#include <common/include/SocketConnectionException.hpp>
@@ -323,7 +323,7 @@ void ProfilingService::InitializeCounterValue(uint16_t counterUid)
// Increase the size of the counter index if necessary
if (counterUid >= m_CounterIndex.size())
{
- m_CounterIndex.resize(armnn::numeric_cast<size_t>(counterUid) + 1);
+ m_CounterIndex.resize(arm::pipe::numeric_cast<size_t>(counterUid) + 1);
}
// Create a new atomic counter and add it to the list