diff options
author | Jim Flynn <jim.flynn@arm.com> | 2022-03-10 22:05:42 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2022-03-10 22:43:11 +0000 |
commit | 75c14f4241b0225640ee6011a41ed0102f4e742c (patch) | |
tree | 1c19b0974e7dd58ef1b266a3022494158675dfda /src/profiling/ProfilingService.cpp | |
parent | dc8f9d9fa46c009eca1bd936b29c9968c9c712bd (diff) | |
download | armnn-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.cpp | 4 |
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 |