aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/CommandHandlerFunctor.hpp
diff options
context:
space:
mode:
authorJim Flynn <jim.flynn@arm.com>2019-10-17 17:37:10 +0100
committerJim Flynn <jim.flynn@arm.com>2019-10-18 09:58:17 +0100
commit397043fa3d900430e9e0f6d328b76898f9613388 (patch)
treedc2cfbcff1a098881d05a97c3d96f4e902575953 /src/profiling/CommandHandlerFunctor.hpp
parent9ea7700bde128f2601d5b7d8849e96c0a08e15c6 (diff)
downloadarmnn-397043fa3d900430e9e0f6d328b76898f9613388.tar.gz
IVGCVSW-4002 Add FamilyId to CommandHandlerKey
Change-Id: I0bb0bf77da2bcd7f4746078c4ccee9acc98638a7 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/CommandHandlerFunctor.hpp')
-rw-r--r--src/profiling/CommandHandlerFunctor.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/profiling/CommandHandlerFunctor.hpp b/src/profiling/CommandHandlerFunctor.hpp
index 7aaab58d15..4d6dfa080a 100644
--- a/src/profiling/CommandHandlerFunctor.hpp
+++ b/src/profiling/CommandHandlerFunctor.hpp
@@ -18,11 +18,13 @@ namespace profiling
class CommandHandlerFunctor
{
public:
- CommandHandlerFunctor(uint32_t packetId, uint32_t version)
- : m_PacketId(packetId)
+ CommandHandlerFunctor(uint32_t familyId, uint32_t packetId, uint32_t version)
+ : m_FamilyId(familyId),
+ m_PacketId(packetId)
, m_Version(version)
{}
+ uint32_t GetFamilyId() const;
uint32_t GetPacketId() const;
uint32_t GetVersion() const;
@@ -31,6 +33,7 @@ public:
virtual ~CommandHandlerFunctor() {}
private:
+ uint32_t m_FamilyId;
uint32_t m_PacketId;
uint32_t m_Version;
};