21.11
|
#include <RequestCountersPacketHandler.hpp>
Public Member Functions | |
RequestCountersPacketHandler (uint32_t capturePeriod=LOWEST_CAPTURE_PERIOD) | |
std::vector< uint32_t > | GetHeadersAccepted () override |
void | HandlePacket (const arm::pipe::Packet &packet) override |
process the packet More... | |
void | SetConnection (IInternalProfilingConnection *profilingConnection) override |
Set a profiling connection on the handler. More... | |
Public Member Functions inherited from ILocalPacketHandler | |
virtual | ~ILocalPacketHandler () |
Definition at line 20 of file RequestCountersPacketHandler.hpp.
|
inlineexplicit |
Definition at line 23 of file RequestCountersPacketHandler.hpp.
References RequestCountersPacketHandler::GetHeadersAccepted(), and RequestCountersPacketHandler::HandlePacket().
|
overridevirtual |
Implements ILocalPacketHandler.
Definition at line 21 of file RequestCountersPacketHandler.cpp.
Referenced by RequestCountersPacketHandler::RequestCountersPacketHandler().
|
overridevirtual |
process the packet
Implements ILocalPacketHandler.
Definition at line 28 of file RequestCountersPacketHandler.cpp.
References ICounterDirectory::GetCategories(), armnn::numeric_cast(), IInternalProfilingConnection::ReturnPacket(), armnn::profiling::uint16_t_size, armnn::profiling::uint32_t_size, armnn::profiling::WriteUint16(), and armnn::profiling::WriteUint32().
Referenced by RequestCountersPacketHandler::RequestCountersPacketHandler().
|
inlineoverridevirtual |
Set a profiling connection on the handler.
Only need to implement this function if the handler will be writing data back to the profiled application.
Reimplemented from ILocalPacketHandler.
Definition at line 32 of file RequestCountersPacketHandler.hpp.