3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-01 07:42:18 +00:00
Brooklyn/arch/arm/ARMnn/tests/profiling/gatordmock/PeriodicCounterSelectionResponseHandler.hpp
2022-04-02 18:06:56 +05:00

44 lines
1.1 KiB
C++

//
// Copyright © 2019 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include <common/include/CommandHandlerFunctor.hpp>
#include <common/include/Packet.hpp>
#include <vector>
namespace armnn
{
namespace gatordmock
{
class PeriodicCounterSelectionResponseHandler : public arm::pipe::CommandHandlerFunctor
{
public:
/**
*
* @param packetId The id of packets this handler will process.
* @param version The version of that id.
* @param quietOperation Optional parameter to turn off printouts. This is useful for unittests.
*/
PeriodicCounterSelectionResponseHandler(uint32_t familyId,
uint32_t packetId,
uint32_t version,
bool quietOperation = true)
: CommandHandlerFunctor(familyId, packetId, version)
, m_QuietOperation(quietOperation)
{}
void operator()(const arm::pipe::Packet& packet) override;
private:
bool m_QuietOperation;
};
} // namespace gatordmock
} // namespace armnn