aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/SendTimelinePacket.cpp
diff options
context:
space:
mode:
authorMatteo Martincigh <matteo.martincigh@arm.com>2019-10-28 11:42:50 +0000
committerMatteo Martincigh <matteo.martincigh@arm.com>2019-10-28 16:29:54 +0000
commit102cdbd76edcd033a2f1c35f4d6853f881bcc1b4 (patch)
treefba9ede2bd9800de1687c53e3fbc9aaf7958f396 /src/profiling/SendTimelinePacket.cpp
parentab84575629b4836ce592ea77831225ce5bbe676f (diff)
downloadarmnn-102cdbd76edcd033a2f1c35f4d6853f881bcc1b4.tar.gz
IVGCVSW-4033 Provide a utility method to send the 'well known'
labels and event classes * Added utility method SendWellKnownLabelsAndEventClasses * Added unit tests Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com> Change-Id: Id8ec0d0eb6861feb8b61731e656d1571effc904a
Diffstat (limited to 'src/profiling/SendTimelinePacket.cpp')
-rw-r--r--src/profiling/SendTimelinePacket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profiling/SendTimelinePacket.cpp b/src/profiling/SendTimelinePacket.cpp
index e6e5ee7d5b..a0fbf5c01f 100644
--- a/src/profiling/SendTimelinePacket.cpp
+++ b/src/profiling/SendTimelinePacket.cpp
@@ -35,7 +35,7 @@ void SendTimelinePacket::ReserveBuffer()
// Check if there is enough space in the buffer
if (m_WriteBuffer == nullptr || reserved < m_Offset)
{
- throw RuntimeException("No space left on buffer", CHECK_LOCATION());
+ throw BufferExhaustion("No space left on buffer", CHECK_LOCATION());
}
m_BufferSize = reserved;
}