2018-02-21 04:26:24 +08:00
|
|
|
/*
|
2019-02-27 18:39:32 +08:00
|
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
2018-02-21 04:26:24 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2018-02-21 04:26:24 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "instrumentation.h"
|
|
|
|
|
2019-02-27 18:39:32 +08:00
|
|
|
#include <cstdint>
|
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
using namespace NEO;
|
2018-02-21 04:26:24 +08:00
|
|
|
|
|
|
|
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 *pSkuTable) {
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool InstrSetAvailable(bool enabled) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
void InstrEscVerifyEnable(InstrEscCbData cbData) {
|
|
|
|
}
|