X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fprofiling%2FProfilingConnectionDumpToFileDecorator.cpp;h=84aae9d39fb5c7396bd28afc690a73bc9f81247b;hb=371b70e39390618cbd791b441adcf3923964b8df;hp=57685661786c725a9ddb7bb7aa1f95bc695b75fb;hpb=1f0e2f9dbf14a719aef09649b19a656a6b03c7ce;p=platform%2Fupstream%2Farmnn.git diff --git a/src/profiling/ProfilingConnectionDumpToFileDecorator.cpp b/src/profiling/ProfilingConnectionDumpToFileDecorator.cpp index 5768566..84aae9d 100644 --- a/src/profiling/ProfilingConnectionDumpToFileDecorator.cpp +++ b/src/profiling/ProfilingConnectionDumpToFileDecorator.cpp @@ -6,11 +6,10 @@ #include "ProfilingConnectionDumpToFileDecorator.hpp" #include +#include #include -#include - namespace armnn { @@ -110,7 +109,7 @@ void ProfilingConnectionDumpToFileDecorator::DumpIncomingToFile(const arm::pipe: m_IncomingDumpFileStream.write(reinterpret_cast(&header), sizeof header); m_IncomingDumpFileStream.write(reinterpret_cast(&packetLength), sizeof packetLength); m_IncomingDumpFileStream.write(reinterpret_cast(packet.GetData()), - boost::numeric_cast(packetLength)); + armnn::numeric_cast(packetLength)); success &= m_IncomingDumpFileStream.good(); if (!(success || m_IgnoreFileErrors)) @@ -142,7 +141,7 @@ bool ProfilingConnectionDumpToFileDecorator::DumpOutgoingToFile(const unsigned c // attempt to write binary data m_OutgoingDumpFileStream.write(reinterpret_cast(buffer), - boost::numeric_cast(length)); + armnn::numeric_cast(length)); success &= m_OutgoingDumpFileStream.good(); if (!(success || m_IgnoreFileErrors)) {