aboutsummaryrefslogtreecommitdiff
path: root/include/armnnTestUtils
diff options
context:
space:
mode:
authorJim Flynn <jim.flynn@arm.com>2022-03-13 22:35:46 +0000
committerJim Flynn <jim.flynn@arm.com>2022-03-14 00:34:17 +0000
commitdecd08b89565b18067d229c8c25b6f3a3333c653 (patch)
tree56176931968b83646b7e69f8e5b84ff7a65a24aa /include/armnnTestUtils
parent77b284e6988b9a131d6abb3140ec6663c2ae84ae (diff)
downloadarmnn-decd08b89565b18067d229c8c25b6f3a3333c653.tar.gz
IVGCVSW-6847 replace armnn:Optional with arm::pipe::Optional in profiling code
Change-Id: I048c538d4f8c21770aec2b2751c934d9fa15a4dc Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'include/armnnTestUtils')
-rw-r--r--include/armnnTestUtils/MockBackend.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/armnnTestUtils/MockBackend.hpp b/include/armnnTestUtils/MockBackend.hpp
index 425062ac28..266c049c2f 100644
--- a/include/armnnTestUtils/MockBackend.hpp
+++ b/include/armnnTestUtils/MockBackend.hpp
@@ -162,7 +162,7 @@ public:
return nextMaxGlobalCounterId;
}
- Optional<std::string> ActivateCounters(uint32_t capturePeriod, const std::vector<uint16_t>& counterIds)
+ arm::pipe::Optional<std::string> ActivateCounters(uint32_t capturePeriod, const std::vector<uint16_t>& counterIds)
{
if (capturePeriod == 0 || counterIds.size() == 0)
{
@@ -170,11 +170,11 @@ public:
}
else if (capturePeriod == 15939u)
{
- return armnn::Optional<std::string>("ActivateCounters example test error");
+ return arm::pipe::Optional<std::string>("ActivateCounters example test error");
}
m_CapturePeriod = capturePeriod;
m_ActiveCounters = counterIds;
- return armnn::Optional<std::string>();
+ return arm::pipe::Optional<std::string>();
}
std::vector<arm::pipe::Timestamp> ReportCounterValues()