blob: 6b82280e81b1445e485a0c3f6dac96ad7df81643 [file] [log] [blame]
//
// Copyright © 2019 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include <CommandHandlerFunctor.hpp>
#include <Packet.hpp>
#include <vector>
namespace armnn
{
namespace gatordmock
{
#pragma once
class PeriodicCounterSelectionResponseHandler : public profiling::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 armnn::profiling::Packet& packet) override;
private:
bool m_QuietOperation;
};
} // namespace gatordmock
} // namespace armnn