Files
compute-runtime/unit_tests/mocks/mock_instrumentation.cpp
Dunajski, Bartosz 0f87e9aa1a Rename HardwareInfo members
Change-Id: I85f56b677bafdd75dd958b488522393fc18b68af
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-09 09:13:55 +02:00

83 lines
1.4 KiB
C++

/*
* Copyright (C) 2018-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "instrumentation.h"
#include <cstdint>
using namespace NEO;
bool InstrAutoSamplingStart(
InstrEscCbData cbData,
void **ppOAInterface) {
return false;
}
bool InstrAutoSamplingStop(
void **ppOAInterface) {
return false;
}
bool InstrCheckPmRegsCfg(
InstrPmRegsCfg *pQueryPmRegsCfg,
uint32_t *pLastPmRegsCfgHandle,
const void *pASInterface) {
return false;
}
bool InstrEscGetPmRegsCfg(
InstrEscCbData cbData,
uint32_t cfgId,
InstrPmRegsCfg *pCfg,
InstrAutoSamplingMode *pAutoSampling) {
return false;
}
bool InstrEscHwMetricsEnable(
InstrEscCbData cbData,
bool enable) {
return false;
}
bool InstrEscLoadPmRegsCfg(
InstrEscCbData cbData,
InstrPmRegsCfg *pCfg,
bool hardwareAccess) {
return false;
}
bool InstrEscSetPmRegsCfg(
InstrEscCbData cbData,
uint32_t count,
uint32_t *pOffsets,
uint32_t *pValues) {
return false;
}
bool InstrEscSendReadRegsCfg(
InstrEscCbData cbData,
uint32_t count,
uint32_t *pOffsets,
uint32_t *pBitSizes) {
return false;
}
uint32_t InstrSetPlatformInfo(
uint32_t productId,
void *featureTable) {
return -1;
}
bool InstrSetAvailable(bool enabled) {
return false;
}
void InstrEscVerifyEnable(InstrEscCbData cbData) {
}