Files
compute-runtime/opencl/source/os_interface/linux/performance_counters_linux.h
Robert Krzemien 9b3dd97f81 Passing drm file descriptor to Metrics Library
Change-Id: I16b566ba262e0eeff9cb62b2a6ecc48811cdee48
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com>
2020-05-21 18:33:51 +02:00

33 lines
924 B
C++

/*
* Copyright (C) 2017-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "opencl/source/os_interface/performance_counters.h"
namespace NEO {
using MetricsLibraryApi::ClientDataLinuxAdapter_1_0;
using MetricsLibraryApi::LinuxAdapterType;
class PerformanceCountersLinux : public PerformanceCounters {
public:
PerformanceCountersLinux() = default;
~PerformanceCountersLinux() override = default;
/////////////////////////////////////////////////////
// Gpu oa/mmio configuration.
/////////////////////////////////////////////////////
bool enableCountersConfiguration() override;
void releaseCountersConfiguration() override;
/////////////////////////////////////////////////////
// Metrics Library client adapter data.
/////////////////////////////////////////////////////
ClientDataLinuxAdapter_1_0 adapter = {};
};
} // namespace NEO