diff options
author | Jim Flynn <jim.flynn@arm.com> | 2022-03-08 21:23:44 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2022-03-09 22:14:52 +0000 |
commit | f9db3efe5ce2b989b59c47056e1b84b32d2f1100 (patch) | |
tree | b1fd75d5f951f9036a8f0b37211fc30b4d651262 /src/timelineDecoder | |
parent | 0e5588f3289845d1bd7597ade081764018eda2cc (diff) | |
download | armnn-f9db3efe5ce2b989b59c47056e1b84b32d2f1100.tar.gz |
IVGCVSW-6821 Remove dependency on armnn::Exception classes from the Profiling code
Change-Id: Id46a9a0576091df21b2af5b472f1ca5c6335e8a3
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/timelineDecoder')
-rw-r--r-- | src/timelineDecoder/JSONTimelineDecoder.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/timelineDecoder/JSONTimelineDecoder.cpp b/src/timelineDecoder/JSONTimelineDecoder.cpp index 0eafe493aa..baf541b066 100644 --- a/src/timelineDecoder/JSONTimelineDecoder.cpp +++ b/src/timelineDecoder/JSONTimelineDecoder.cpp @@ -302,7 +302,8 @@ std::string JSONTimelineDecoder::GetWorkloadExecutionJSONString(const JSONTimeli { if(entity.childEntities.size() < 2) { - throw Exception("Workload Execution Entity Packet does not have the expected Event packets attached"); + throw arm::pipe::ProfilingException( + "Workload Execution Entity Packet does not have the expected Event packets attached"); } JSONEntity jsonEventOne = entity.childEntities[0]; JSONEntity jsonEventTwo = entity.childEntities[1]; @@ -395,4 +396,4 @@ std::string JSONTimelineDecoder::JSONEntity::GetType() } } -}
\ No newline at end of file +} |