8 #include <client/src/ProfilingUtils.hpp> 10 #include <client/include/ILocalPacketHandler.hpp> 11 #include <client/include/ProfilingOptions.hpp> 13 #include <common/include/Packet.hpp> 25 m_CapturePeriod(capturePeriod),
26 m_Connection(nullptr),
27 m_CounterDirectoryMessageHeader(ConstructHeader(0, 2)) {}
31 void HandlePacket(
const arm::pipe::Packet& packet)
override;
33 void SetConnection(IInternalProfilingConnection* profilingConnection)
override 35 m_Connection = profilingConnection;
39 uint32_t m_CapturePeriod;
40 IInternalProfilingConnection* m_Connection;
41 uint32_t m_CounterDirectoryMessageHeader;
42 std::vector<uint16_t> m_IdList;
44 void SendCounterSelectionPacket();
void SetConnection(IInternalProfilingConnection *profilingConnection) override
std::vector< uint32_t > GetHeadersAccepted() override
RequestCountersPacketHandler(uint32_t capturePeriod=arm::pipe::LOWEST_CAPTURE_PERIOD)
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