/* * Copyright (C) 2022-2024 Intel Corporation * * SPDX-License-Identifier: MIT * */ #pragma once #include "shared/source/helpers/timestamp_packet.h" namespace NEO { class MockTimestampPackets32 : public TimestampPackets { public: using typename TimestampPackets::Packet; using TimestampPackets::packets; void setTagToReadyState() { initialize(0); uint32_t zeros[4] = {}; for (uint32_t i = 0; i < TimestampPacketConstants::preferredPacketCount; i++) { assignDataToAllTimestamps(i, zeros); } } void setToNonReadyState() { packets[0].contextEnd = 1; } }; } // namespace NEO