From 3a161988ebb9e5406d2bcab6fc3a06f8545eb588 Mon Sep 17 00:00:00 2001 From: Francis Murtagh Date: Wed, 4 Sep 2019 15:25:02 +0100 Subject: IVGCVSW-3692 Implement SendPeriodicCounterCapturePacket() function Change-Id: Ic976fc36955bec5e7721d1e34e89e7be79e23053 Signed-off-by: Francis Murtagh --- src/profiling/SendCounterPacket.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/profiling/SendCounterPacket.hpp') 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>; + + SendCounterPacket(IBufferWrapper& buffer) : m_Buffer(buffer), m_ReadyToRead(false) {}; void SendStreamMetaDataPacket() override; void SendCounterDirectoryPacket(const Category& category, const std::vector& counters) override; - void SendPeriodicCounterCapturePacket(uint64_t timestamp, const std::vector& counterValues, - const std::vector& counterUids) override; + void SendPeriodicCounterCapturePacket(uint64_t timestamp, const IndexValuePairsVector& values) override; void SendPeriodicCounterSelectionPacket(uint32_t capturePeriod, const std::vector& selectedCounterIds) override; -- cgit v1.2.1