2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2019-02-27 18:39:32 +08:00
|
|
|
* Copyright (C) 2017-2019 Intel Corporation
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
2017-12-21 07:45:38 +08:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "runtime/os_interface/performance_counters.h"
|
2019-02-27 18:39:32 +08:00
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2017-12-21 07:45:38 +08:00
|
|
|
|
|
|
|
class PerformanceCountersLinux : virtual public PerformanceCounters {
|
|
|
|
public:
|
2019-05-20 17:19:27 +08:00
|
|
|
PerformanceCountersLinux() = default;
|
|
|
|
~PerformanceCountersLinux() override = default;
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////
|
|
|
|
// Gpu oa/mmio configuration.
|
|
|
|
/////////////////////////////////////////////////////
|
|
|
|
bool enableCountersConfiguration() override;
|
|
|
|
void releaseCountersConfiguration() override;
|
2017-12-21 07:45:38 +08:00
|
|
|
};
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|