mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Refactor performance counters interface
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f1c24ddcbb
commit
38915c6de9
@@ -9,6 +9,8 @@
|
||||
#include "shared/source/utilities/metrics_library.h"
|
||||
#include "shared/source/utilities/perf_counter.h"
|
||||
|
||||
#include "engine_node.h"
|
||||
|
||||
#include <mutex>
|
||||
|
||||
namespace NEO {
|
||||
@@ -17,7 +19,6 @@ namespace NEO {
|
||||
// Forward declaration.
|
||||
//////////////////////////////////////////////////////
|
||||
class TagNodeBase;
|
||||
class CommandQueue;
|
||||
|
||||
//////////////////////////////////////////////////////
|
||||
// Performance counters implementation.
|
||||
@@ -47,7 +48,7 @@ class PerformanceCounters {
|
||||
//////////////////////////////////////////////////////
|
||||
// Gpu commands.
|
||||
//////////////////////////////////////////////////////
|
||||
static uint32_t getGpuCommandsSize(CommandQueue &commandQueue, const bool reservePerfCounters);
|
||||
static uint32_t getGpuCommandsSize(PerformanceCounters *performanceCounters, aub_stream::EngineType engineType, const bool reservePerfCounters);
|
||||
uint32_t getGpuCommandsSize(const MetricsLibraryApi::GpuCommandBufferType commandBufferType, const bool begin);
|
||||
bool getGpuCommands(const MetricsLibraryApi::GpuCommandBufferType commandBufferType, TagNodeBase &performanceCounters, const bool begin, const uint32_t bufferSize, void *pBuffer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user