From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- 20.02/_i_send_counter_packet_8hpp_source.xhtml | 124 +++++++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 20.02/_i_send_counter_packet_8hpp_source.xhtml (limited to '20.02/_i_send_counter_packet_8hpp_source.xhtml') diff --git a/20.02/_i_send_counter_packet_8hpp_source.xhtml b/20.02/_i_send_counter_packet_8hpp_source.xhtml new file mode 100644 index 0000000000..cbbe20348a --- /dev/null +++ b/20.02/_i_send_counter_packet_8hpp_source.xhtml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + +ArmNN: src/profiling/ISendCounterPacket.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ISendCounterPacket.hpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
9 #include "ICounterDirectory.hpp"
10 
11 namespace armnn
12 {
13 
14 namespace profiling
15 {
16 
18 {
19 public:
20  using IndexValuePairsVector = std::vector<CounterValue>;
21 
22  virtual ~ISendCounterPacket() {}
23 
24  /// Create and write a StreamMetaDataPacket in the buffer
25  virtual void SendStreamMetaDataPacket() = 0;
26 
27  /// Create and write a CounterDirectoryPacket from the parameters to the buffer.
28  virtual void SendCounterDirectoryPacket(const ICounterDirectory& counterDirectory) = 0;
29 
30  /// Create and write a PeriodicCounterCapturePacket from the parameters to the buffer.
31  virtual void SendPeriodicCounterCapturePacket(uint64_t timestamp, const IndexValuePairsVector& values) = 0;
32 
33  /// Create and write a PeriodicCounterSelectionPacket from the parameters to the buffer.
34  virtual void SendPeriodicCounterSelectionPacket(uint32_t capturePeriod,
35  const std::vector<uint16_t>& selectedCounterIds) = 0;
36 };
37 
38 } // namespace profiling
39 
40 } // namespace armnn
41 
std::vector< CounterValue > IndexValuePairsVector
+
virtual void SendPeriodicCounterSelectionPacket(uint32_t capturePeriod, const std::vector< uint16_t > &selectedCounterIds)=0
Create and write a PeriodicCounterSelectionPacket from the parameters to the buffer.
+ +
Copyright (c) 2020 ARM Limited.
+ + +
virtual void SendPeriodicCounterCapturePacket(uint64_t timestamp, const IndexValuePairsVector &values)=0
Create and write a PeriodicCounterCapturePacket from the parameters to the buffer.
+
virtual void SendStreamMetaDataPacket()=0
Create and write a StreamMetaDataPacket in the buffer.
+ +
virtual void SendCounterDirectoryPacket(const ICounterDirectory &counterDirectory)=0
Create and write a CounterDirectoryPacket from the parameters to the buffer.
+ +
+
+ + + + -- cgit v1.2.1