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/ISendCounterPacket.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/ISendCounterPacket.hpp')
-rw-r--r-- | src/profiling/ISendCounterPacket.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/profiling/ISendCounterPacket.hpp b/src/profiling/ISendCounterPacket.hpp index eeec5d4b60..7f9e192b9d 100644 --- a/src/profiling/ISendCounterPacket.hpp +++ b/src/profiling/ISendCounterPacket.hpp @@ -16,6 +16,8 @@ namespace profiling class ISendCounterPacket { public: + using IndexValuePairsVector = std::vector<std::pair<uint16_t, uint32_t>>; + /// Create and write a StreamMetaDataPacket in the buffer virtual void SendStreamMetaDataPacket() = 0; @@ -23,8 +25,7 @@ public: virtual void SendCounterDirectoryPacket(const Category& category, const std::vector<Counter>& counters) = 0; /// Create and write a PeriodicCounterCapturePacket from the parameters to the buffer. - virtual void SendPeriodicCounterCapturePacket(uint64_t timestamp, const std::vector<uint32_t>& counterValues, - const std::vector<uint16_t>& counterUids) = 0; + virtual void SendPeriodicCounterCapturePacket(uint64_t timestamp, const IndexValuePairsVector& values) = 0; /// Create and write a PeriodicCounterSelectionPacket from the parameters to the buffer. virtual void SendPeriodicCounterSelectionPacket(uint32_t capturePeriod, |