29 lines
692 B
C++
29 lines
692 B
C++
/*
|
|
* Copyright (C) 2018-2021 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "shared/source/command_stream/experimental_command_buffer.h"
|
|
|
|
namespace NEO {
|
|
|
|
class MockExperimentalCommandBuffer : public ExperimentalCommandBuffer {
|
|
using BaseClass = ExperimentalCommandBuffer;
|
|
|
|
public:
|
|
using BaseClass::currentStream;
|
|
using BaseClass::experimentalAllocation;
|
|
using BaseClass::experimentalAllocationOffset;
|
|
using BaseClass::timestamps;
|
|
using BaseClass::timestampsOffset;
|
|
|
|
MockExperimentalCommandBuffer(CommandStreamReceiver *csr) : ExperimentalCommandBuffer(csr, 80.0) {
|
|
defaultPrint = false;
|
|
}
|
|
};
|
|
|
|
} // namespace NEO
|