12 #include <common/include/Packet.hpp> 24 m_CapturePeriod(capturePeriod),
25 m_Connection(nullptr),
30 void HandlePacket(
const arm::pipe::Packet& packet)
override;
34 m_Connection = profilingConnection;
38 uint32_t m_CapturePeriod;
40 uint32_t m_CounterDirectoryMessageHeader;
41 std::vector<uint16_t> m_IdList;
43 void SendCounterSelectionPacket();
void SetConnection(IInternalProfilingConnection *profilingConnection) override
Set a profiling connection on the handler.
Copyright (c) 2021 ARM Limited and Contributors.
RequestCountersPacketHandler(uint32_t capturePeriod=LOWEST_CAPTURE_PERIOD)
uint32_t ConstructHeader(uint32_t packetFamily, uint32_t packetId)
constexpr unsigned int LOWEST_CAPTURE_PERIOD
The lowest performance data capture interval we support is 10 miliseconds.
void HandlePacket(const arm::pipe::Packet &packet) override
process the packet
std::vector< uint32_t > GetHeadersAccepted() override