aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/ProfilingUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/ProfilingUtils.cpp')
-rw-r--r--src/profiling/ProfilingUtils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/profiling/ProfilingUtils.cpp b/src/profiling/ProfilingUtils.cpp
index 36578684ca..d827500a3c 100644
--- a/src/profiling/ProfilingUtils.cpp
+++ b/src/profiling/ProfilingUtils.cpp
@@ -39,7 +39,7 @@ void ThrowIfCantGenerateNextUid(uint16_t uid, uint16_t cores = 0)
// running multiple parallel workloads and will not provide multiple streams of data for each event)
if (uid == std::numeric_limits<uint16_t>::max())
{
- throw armnn::RuntimeException("Generating the next UID for profiling would result in an overflow");
+ throw arm::pipe::ProfilingException("Generating the next UID for profiling would result in an overflow");
}
break;
default: // cores > 1
@@ -47,7 +47,7 @@ void ThrowIfCantGenerateNextUid(uint16_t uid, uint16_t cores = 0)
// allowed value for a counter UID is consequently: uint16_t_max - cores + 1
if (uid >= std::numeric_limits<uint16_t>::max() - cores + 1)
{
- throw armnn::RuntimeException("Generating the next UID for profiling would result in an overflow");
+ throw arm::pipe::ProfilingException("Generating the next UID for profiling would result in an overflow");
}
break;
}
@@ -419,7 +419,7 @@ TimelinePacketStatus WriteTimelineRelationshipBinary(ProfilingRelationshipType r
relationshipTypeUint = 3;
break;
default:
- throw InvalidArgumentException("Unknown relationship type given.");
+ throw arm::pipe::InvalidArgumentException("Unknown relationship type given.");
}
// Write the timeline binary payload to the buffer