From decd08b89565b18067d229c8c25b6f3a3333c653 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Sun, 13 Mar 2022 22:35:46 +0000 Subject: IVGCVSW-6847 replace armnn:Optional with arm::pipe::Optional in profiling code Change-Id: I048c538d4f8c21770aec2b2751c934d9fa15a4dc Signed-off-by: Jim Flynn --- src/profiling/CounterDirectory.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/profiling/CounterDirectory.cpp') diff --git a/src/profiling/CounterDirectory.cpp b/src/profiling/CounterDirectory.cpp index b8eddb4140..0f6147f833 100644 --- a/src/profiling/CounterDirectory.cpp +++ b/src/profiling/CounterDirectory.cpp @@ -50,7 +50,7 @@ const Category* CounterDirectory::RegisterCategory(const std::string& categoryNa const Device* CounterDirectory::RegisterDevice(const std::string& deviceName, uint16_t cores, - const armnn::Optional& parentCategoryName) + const arm::pipe::Optional& parentCategoryName) { // Check that the given device name is valid if (deviceName.empty() || @@ -112,7 +112,7 @@ const Device* CounterDirectory::RegisterDevice(const std::string& deviceName, const CounterSet* CounterDirectory::RegisterCounterSet(const std::string& counterSetName, uint16_t count, - const armnn::Optional& parentCategoryName) + const arm::pipe::Optional& parentCategoryName) { // Check that the given counter set name is valid if (counterSetName.empty() || @@ -184,10 +184,10 @@ const Counter* CounterDirectory::RegisterCounter(const std::string& applicationN double multiplier, const std::string& name, const std::string& description, - const armnn::Optional& units, - const armnn::Optional& numberOfCores, - const armnn::Optional& deviceUid, - const armnn::Optional& counterSetUid) + const arm::pipe::Optional& units, + const arm::pipe::Optional& numberOfCores, + const arm::pipe::Optional& deviceUid, + const arm::pipe::Optional& counterSetUid) { // Check that the given parent category name is valid if (parentCategoryName.empty() || @@ -498,7 +498,7 @@ CountersIt CounterDirectory::FindCounter(const std::string& counterName) const }); } -uint16_t CounterDirectory::GetNumberOfCores(const armnn::Optional& numberOfCores, +uint16_t CounterDirectory::GetNumberOfCores(const arm::pipe::Optional& numberOfCores, uint16_t deviceUid) { // To get the number of cores, apply the following rules: -- cgit v1.2.1