diff options
author | Francis Murtagh <francis.murtagh@arm.com> | 2019-09-04 15:25:02 +0100 |
---|---|---|
committer | Francis Murtagh <francis.murtagh@arm.com> | 2019-09-05 11:11:20 +0100 |
commit | 3a161988ebb9e5406d2bcab6fc3a06f8545eb588 (patch) | |
tree | f51f8d18544a20362f671475bd0844d331a2a60e /src/profiling/SendCounterPacket.hpp | |
parent | 68f78d8ef0134aaaf10ee4db94e808f68f1ba2a8 (diff) | |
download | armnn-3a161988ebb9e5406d2bcab6fc3a06f8545eb588.tar.gz |
IVGCVSW-3692 Implement SendPeriodicCounterCapturePacket() function
Change-Id: Ic976fc36955bec5e7721d1e34e89e7be79e23053
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Diffstat (limited to 'src/profiling/SendCounterPacket.hpp')
-rw-r--r-- | src/profiling/SendCounterPacket.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/profiling/SendCounterPacket.hpp b/src/profiling/SendCounterPacket.hpp index c1432b315d..453c0013e0 100644 --- a/src/profiling/SendCounterPacket.hpp +++ b/src/profiling/SendCounterPacket.hpp @@ -18,14 +18,15 @@ namespace profiling class SendCounterPacket : public ISendCounterPacket { public: - SendCounterPacket(IBufferWrapper& buffer) : m_Buffer(buffer), m_ReadyToRead(false) {} + using IndexValuePairsVector = std::vector<std::pair<uint16_t, uint32_t>>; + + SendCounterPacket(IBufferWrapper& buffer) : m_Buffer(buffer), m_ReadyToRead(false) {}; void SendStreamMetaDataPacket() override; void SendCounterDirectoryPacket(const Category& category, const std::vector<Counter>& counters) override; - void SendPeriodicCounterCapturePacket(uint64_t timestamp, const std::vector<uint32_t>& counterValues, - const std::vector<uint16_t>& counterUids) override; + void SendPeriodicCounterCapturePacket(uint64_t timestamp, const IndexValuePairsVector& values) override; void SendPeriodicCounterSelectionPacket(uint32_t capturePeriod, const std::vector<uint16_t>& selectedCounterIds) override; |