From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- ...1_1profiling_1_1_send_counter_packet_test.xhtml | 425 +++++++++++++++++++++ 1 file changed, 425 insertions(+) create mode 100644 21.02/classarmnn_1_1profiling_1_1_send_counter_packet_test.xhtml (limited to '21.02/classarmnn_1_1profiling_1_1_send_counter_packet_test.xhtml') diff --git a/21.02/classarmnn_1_1profiling_1_1_send_counter_packet_test.xhtml b/21.02/classarmnn_1_1profiling_1_1_send_counter_packet_test.xhtml new file mode 100644 index 0000000000..b09617b6c5 --- /dev/null +++ b/21.02/classarmnn_1_1profiling_1_1_send_counter_packet_test.xhtml @@ -0,0 +1,425 @@ + + + + + + + + + + + + + +ArmNN: SendCounterPacketTest Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
SendCounterPacketTest Class Reference
+
+
+ +

#include <SendCounterPacketTests.hpp>

+
+Inheritance diagram for SendCounterPacketTest:
+
+
+ + +SendCounterPacket +ISendCounterPacket + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 SendCounterPacketTest (IBufferManager &buffer)
 
bool CreateDeviceRecordTest (const DevicePtr &device, DeviceRecord &deviceRecord, std::string &errorMessage)
 
bool CreateCounterSetRecordTest (const CounterSetPtr &counterSet, CounterSetRecord &counterSetRecord, std::string &errorMessage)
 
bool CreateEventRecordTest (const CounterPtr &counter, EventRecord &eventRecord, std::string &errorMessage)
 
bool CreateCategoryRecordTest (const CategoryPtr &category, const Counters &counters, CategoryRecord &categoryRecord, std::string &errorMessage)
 
- Public Member Functions inherited from SendCounterPacket
 SendCounterPacket (IBufferManager &buffer)
 
void SendStreamMetaDataPacket () override
 Create and write a StreamMetaDataPacket in the buffer. More...
 
void SendCounterDirectoryPacket (const ICounterDirectory &counterDirectory) override
 Create and write a CounterDirectoryPacket from the parameters to the buffer. More...
 
void SendPeriodicCounterCapturePacket (uint64_t timestamp, const IndexValuePairsVector &values) override
 Create and write a PeriodicCounterCapturePacket from the parameters to the buffer. More...
 
void SendPeriodicCounterSelectionPacket (uint32_t capturePeriod, const std::vector< uint16_t > &selectedCounterIds) override
 Create and write a PeriodicCounterSelectionPacket from the parameters to the buffer. More...
 
- Public Member Functions inherited from ISendCounterPacket
virtual ~ISendCounterPacket ()
 
+ + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Types inherited from SendCounterPacket
using CategoryRecord = std::vector< uint32_t >
 
using DeviceRecord = std::vector< uint32_t >
 
using CounterSetRecord = std::vector< uint32_t >
 
using EventRecord = std::vector< uint32_t >
 
using IndexValuePairsVector = std::vector< CounterValue >
 
- Public Types inherited from ISendCounterPacket
using IndexValuePairsVector = std::vector< CounterValue >
 
- Protected Member Functions inherited from SendCounterPacket
bool CreateCategoryRecord (const CategoryPtr &category, const Counters &counters, CategoryRecord &categoryRecord, std::string &errorMessage)
 
bool CreateDeviceRecord (const DevicePtr &device, DeviceRecord &deviceRecord, std::string &errorMessage)
 
bool CreateCounterSetRecord (const CounterSetPtr &counterSet, CounterSetRecord &counterSetRecord, std::string &errorMessage)
 
bool CreateEventRecord (const CounterPtr &counter, EventRecord &eventRecord, std::string &errorMessage)
 
+

Detailed Description

+
+

Definition at line 31 of file SendCounterPacketTests.hpp.

+

Constructor & Destructor Documentation

+ +

◆ SendCounterPacketTest()

+ +
+
+ + + + + +
+ + + + + + + + +
SendCounterPacketTest (IBufferManagerbuffer)
+
+inline
+
+ +

Definition at line 34 of file SendCounterPacketTests.hpp.

+
35  : SendCounterPacket(buffer)
36  {}
SendCounterPacket(IBufferManager &buffer)
+
+
+
+

Member Function Documentation

+ +

◆ CreateCategoryRecordTest()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
bool CreateCategoryRecordTest (const CategoryPtrcategory,
const Counterscounters,
CategoryRecordcategoryRecord,
std::string & errorMessage 
)
+
+inline
+
+ +

Definition at line 59 of file SendCounterPacketTests.hpp.

+ +

References SendCounterPacket::CreateCategoryRecord().

+ +

Referenced by BOOST_AUTO_TEST_CASE().

+
63  {
64  return CreateCategoryRecord(category, counters, categoryRecord, errorMessage);
65  }
bool CreateCategoryRecord(const CategoryPtr &category, const Counters &counters, CategoryRecord &categoryRecord, std::string &errorMessage)
+
+
+
+ +

◆ CreateCounterSetRecordTest()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
bool CreateCounterSetRecordTest (const CounterSetPtrcounterSet,
CounterSetRecordcounterSetRecord,
std::string & errorMessage 
)
+
+inline
+
+ +

Definition at line 45 of file SendCounterPacketTests.hpp.

+ +

References SendCounterPacket::CreateCounterSetRecord().

+ +

Referenced by BOOST_AUTO_TEST_CASE().

+
48  {
49  return CreateCounterSetRecord(counterSet, counterSetRecord, errorMessage);
50  }
bool CreateCounterSetRecord(const CounterSetPtr &counterSet, CounterSetRecord &counterSetRecord, std::string &errorMessage)
+
+
+
+ +

◆ CreateDeviceRecordTest()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
bool CreateDeviceRecordTest (const DevicePtrdevice,
DeviceRecorddeviceRecord,
std::string & errorMessage 
)
+
+inline
+
+ +

Definition at line 38 of file SendCounterPacketTests.hpp.

+ +

References SendCounterPacket::CreateDeviceRecord().

+ +

Referenced by BOOST_AUTO_TEST_CASE().

+
41  {
42  return CreateDeviceRecord(device, deviceRecord, errorMessage);
43  }
bool CreateDeviceRecord(const DevicePtr &device, DeviceRecord &deviceRecord, std::string &errorMessage)
+
+
+
+ +

◆ CreateEventRecordTest()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
bool CreateEventRecordTest (const CounterPtrcounter,
EventRecordeventRecord,
std::string & errorMessage 
)
+
+inline
+
+ +

Definition at line 52 of file SendCounterPacketTests.hpp.

+ +

References SendCounterPacket::CreateEventRecord().

+ +

Referenced by BOOST_AUTO_TEST_CASE().

+
55  {
56  return CreateEventRecord(counter, eventRecord, errorMessage);
57  }
bool CreateEventRecord(const CounterPtr &counter, EventRecord &eventRecord, std::string &errorMessage)
+
+
+
+
The documentation for this class was generated from the following file: +
+
+ + + + -- cgit v1.2.1