ArmNN
 20.02
ISendCounterPacket Class Referenceabstract

#include <ISendCounterPacket.hpp>

Inheritance diagram for ISendCounterPacket:
MockSendCounterPacket SendCounterPacket SendCounterPacketTest

Public Types

using IndexValuePairsVector = std::vector< CounterValue >
 

Public Member Functions

virtual ~ISendCounterPacket ()
 
virtual void SendStreamMetaDataPacket ()=0
 Create and write a StreamMetaDataPacket in the buffer. More...
 
virtual void SendCounterDirectoryPacket (const ICounterDirectory &counterDirectory)=0
 Create and write a CounterDirectoryPacket from the parameters to the buffer. More...
 
virtual void SendPeriodicCounterCapturePacket (uint64_t timestamp, const IndexValuePairsVector &values)=0
 Create and write a PeriodicCounterCapturePacket from the parameters to the buffer. More...
 
virtual void SendPeriodicCounterSelectionPacket (uint32_t capturePeriod, const std::vector< uint16_t > &selectedCounterIds)=0
 Create and write a PeriodicCounterSelectionPacket from the parameters to the buffer. More...
 

Detailed Description

Definition at line 17 of file ISendCounterPacket.hpp.

Member Typedef Documentation

◆ IndexValuePairsVector

using IndexValuePairsVector = std::vector<CounterValue>

Definition at line 20 of file ISendCounterPacket.hpp.

Constructor & Destructor Documentation

◆ ~ISendCounterPacket()

Member Function Documentation

◆ SendCounterDirectoryPacket()

virtual void SendCounterDirectoryPacket ( const ICounterDirectory counterDirectory)
pure virtual

Create and write a CounterDirectoryPacket from the parameters to the buffer.

Implemented in MockSendCounterPacket, and SendCounterPacket.

Referenced by ConnectionAcknowledgedCommandHandler::operator()(), RequestCounterDirectoryCommandHandler::operator()(), and ISendCounterPacket::~ISendCounterPacket().

◆ SendPeriodicCounterCapturePacket()

virtual void SendPeriodicCounterCapturePacket ( uint64_t  timestamp,
const IndexValuePairsVector values 
)
pure virtual

Create and write a PeriodicCounterCapturePacket from the parameters to the buffer.

Implemented in SendCounterPacket.

Referenced by BackendProfiling::ReportCounters(), PeriodicCounterCapture::Stop(), and ISendCounterPacket::~ISendCounterPacket().

◆ SendPeriodicCounterSelectionPacket()

virtual void SendPeriodicCounterSelectionPacket ( uint32_t  capturePeriod,
const std::vector< uint16_t > &  selectedCounterIds 
)
pure virtual

Create and write a PeriodicCounterSelectionPacket from the parameters to the buffer.

Implemented in MockSendCounterPacket, and SendCounterPacket.

Referenced by PeriodicCounterSelectionCommandHandler::operator()(), and ISendCounterPacket::~ISendCounterPacket().

◆ SendStreamMetaDataPacket()

virtual void SendStreamMetaDataPacket ( )
pure virtual

Create and write a StreamMetaDataPacket in the buffer.

Implemented in MockSendCounterPacket, and SendCounterPacket.

Referenced by SendThread::Stop(), and ISendCounterPacket::~ISendCounterPacket().


The documentation for this class was generated from the following file: