diff options
Diffstat (limited to 'src/profiling/CounterIdMap.cpp')
-rw-r--r-- | src/profiling/CounterIdMap.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/profiling/CounterIdMap.cpp b/src/profiling/CounterIdMap.cpp index bff8e0660e..80b63a36eb 100644 --- a/src/profiling/CounterIdMap.cpp +++ b/src/profiling/CounterIdMap.cpp @@ -3,7 +3,9 @@ // SPDX-License-Identifier: MIT // #include "CounterIdMap.hpp" -#include <armnn/Exceptions.hpp> + +#include <common/include/ProfilingException.hpp> + #include <map> namespace arm @@ -34,7 +36,7 @@ uint16_t CounterIdMap::GetGlobalId(uint16_t backendCounterId, const std::string& { std::stringstream ss; ss << "No Backend Counter [" << backendIdPair.second << ":" << backendIdPair.first << "] registered"; - throw armnn::Exception(ss.str()); + throw arm::pipe::ProfilingException(ss.str()); } return it->second; } @@ -46,7 +48,7 @@ const std::pair<uint16_t, std::string>& CounterIdMap::GetBackendId(uint16_t glob { std::stringstream ss; ss << "No Global Counter ID [" << globalCounterId << "] registered"; - throw armnn::Exception(ss.str()); + throw arm::pipe::ProfilingException(ss.str()); } return it->second; } |