aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/ProfilingConnectionDumpToFileDecorator.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/ProfilingConnectionDumpToFileDecorator.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/ProfilingConnectionDumpToFileDecorator.cpp')
-rw-r--r--src/profiling/ProfilingConnectionDumpToFileDecorator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/profiling/ProfilingConnectionDumpToFileDecorator.cpp b/src/profiling/ProfilingConnectionDumpToFileDecorator.cpp
index a0c5bc29dd..7f13b08ae1 100644
--- a/src/profiling/ProfilingConnectionDumpToFileDecorator.cpp
+++ b/src/profiling/ProfilingConnectionDumpToFileDecorator.cpp
@@ -5,7 +5,7 @@
#include "ProfilingConnectionDumpToFileDecorator.hpp"
-#include <armnn/utility/NumericCast.hpp>
+#include <common/include/NumericCast.hpp>
#include <common/include/ProfilingException.hpp>
#include <fstream>
@@ -109,7 +109,7 @@ void ProfilingConnectionDumpToFileDecorator::DumpIncomingToFile(const arm::pipe:
m_IncomingDumpFileStream.write(reinterpret_cast<const char*>(&header), sizeof header);
m_IncomingDumpFileStream.write(reinterpret_cast<const char*>(&packetLength), sizeof packetLength);
m_IncomingDumpFileStream.write(reinterpret_cast<const char*>(packet.GetData()),
- armnn::numeric_cast<std::streamsize>(packetLength));
+ arm::pipe::numeric_cast<std::streamsize>(packetLength));
success &= m_IncomingDumpFileStream.good();
if (!(success || m_IgnoreFileErrors))
@@ -141,7 +141,7 @@ bool ProfilingConnectionDumpToFileDecorator::DumpOutgoingToFile(const unsigned c
// attempt to write binary data
m_OutgoingDumpFileStream.write(reinterpret_cast<const char*>(buffer),
- armnn::numeric_cast<std::streamsize>(length));
+ arm::pipe::numeric_cast<std::streamsize>(length));
success &= m_OutgoingDumpFileStream.good();
if (!(success || m_IgnoreFileErrors))
{