aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/test/TestTimelinePacketHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/test/TestTimelinePacketHandler.cpp')
-rw-r--r--src/profiling/test/TestTimelinePacketHandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/profiling/test/TestTimelinePacketHandler.cpp b/src/profiling/test/TestTimelinePacketHandler.cpp
index d38c1751cb..46f0549bba 100644
--- a/src/profiling/test/TestTimelinePacketHandler.cpp
+++ b/src/profiling/test/TestTimelinePacketHandler.cpp
@@ -39,7 +39,7 @@ void TestTimelinePacketHandler::HandlePacket(const arm::pipe::Packet& packet)
{
std::stringstream ss;
ss << "Received a packet with unknown header [" << packet.GetHeader() << "]";
- throw armnn::Exception(ss.str());
+ throw arm::pipe::ProfilingException(ss.str());
}
}
@@ -63,7 +63,7 @@ void TestTimelinePacketHandler::WaitOnInferenceCompletion(unsigned int timeout)
std::chrono::duration<double, std::milli> elapsed = finish - start;
std::stringstream ss;
ss << "Timed out waiting on inference completion for " << elapsed.count() << " ms";
- throw armnn::TimeoutException(ss.str());
+ throw arm::pipe::TimeoutException(ss.str());
}
return;
}
@@ -138,4 +138,4 @@ arm::pipe::ITimelineDecoder::TimelineStatus TimelineMessageDecoder::CreateRelati
} // namespace pipe
-} // namespace arm \ No newline at end of file
+} // namespace arm