From 9c85b41a9fcb3c64d7a686373e7dde75630ccd49 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Wed, 16 Mar 2022 00:27:43 +0000 Subject: IVGCVSW-6852 Break the remaining dependencies on Arm NN in the profiling code Change-Id: I18b8ca22896567904768170350ee5eb22edd4a22 Signed-off-by: Jim Flynn --- src/profiling/SendCounterPacket.hpp | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src/profiling/SendCounterPacket.hpp') diff --git a/src/profiling/SendCounterPacket.hpp b/src/profiling/SendCounterPacket.hpp index f8fd757944..c33bdcc025 100644 --- a/src/profiling/SendCounterPacket.hpp +++ b/src/profiling/SendCounterPacket.hpp @@ -27,8 +27,14 @@ public: using EventRecord = std::vector; using IndexValuePairsVector = std::vector; - SendCounterPacket(IBufferManager& buffer) - : m_BufferManager(buffer) + SendCounterPacket(IBufferManager& buffer, + const std::string& softwareInfo, + const std::string& softwareVersion, + const std::string& hardwareVersion) + : m_BufferManager(buffer), + m_SoftwareInfo(softwareInfo), + m_SoftwareVersion(softwareVersion), + m_HardwareVersion(hardwareVersion) {} void SendStreamMetaDataPacket() override; @@ -83,6 +89,10 @@ protected: bool CreateEventRecord(const CounterPtr& counter, EventRecord& eventRecord, std::string& errorMessage); +private: + std::string m_SoftwareInfo; + std::string m_SoftwareVersion; + std::string m_HardwareVersion; }; } // namespace pipe -- cgit v1.2.1