diff options
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, |