mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Passing drm file descriptor to Metrics Library
Change-Id: I16b566ba262e0eeff9cb62b2a6ecc48811cdee48 Signed-off-by: Robert Krzemien <robert.krzemien@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
5eed521fe1
commit
9b3dd97f81
@@ -10,7 +10,10 @@
|
||||
|
||||
namespace NEO {
|
||||
|
||||
class PerformanceCountersLinux : virtual public PerformanceCounters {
|
||||
using MetricsLibraryApi::ClientDataLinuxAdapter_1_0;
|
||||
using MetricsLibraryApi::LinuxAdapterType;
|
||||
|
||||
class PerformanceCountersLinux : public PerformanceCounters {
|
||||
public:
|
||||
PerformanceCountersLinux() = default;
|
||||
~PerformanceCountersLinux() override = default;
|
||||
@@ -20,5 +23,10 @@ class PerformanceCountersLinux : virtual public PerformanceCounters {
|
||||
/////////////////////////////////////////////////////
|
||||
bool enableCountersConfiguration() override;
|
||||
void releaseCountersConfiguration() override;
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
// Metrics Library client adapter data.
|
||||
/////////////////////////////////////////////////////
|
||||
ClientDataLinuxAdapter_1_0 adapter = {};
|
||||
};
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user