IVGCVSW-3692 Implement SendPeriodicCounterCapturePacket() function

Change-Id: Ic976fc36955bec5e7721d1e34e89e7be79e23053
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
diff --git a/src/profiling/ISendCounterPacket.hpp b/src/profiling/ISendCounterPacket.hpp
index eeec5d4..7f9e192 100644
--- a/src/profiling/ISendCounterPacket.hpp
+++ b/src/profiling/ISendCounterPacket.hpp
@@ -16,6 +16,8 @@
 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 @@
     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,