mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
Fix warnings related to unused/uninitialized variables etc. Change-Id: I2e75ede434442d7b99d6e28253e7811aac205323 Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
21 lines
479 B
C++
21 lines
479 B
C++
/*
|
|
* Copyright (C) 2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include <cstdint>
|
|
|
|
namespace L0 {
|
|
class LinuxSysmanImp;
|
|
class PmuInterface {
|
|
public:
|
|
virtual ~PmuInterface() = default;
|
|
virtual int64_t pmuInterfaceOpen(uint64_t config, int group, uint32_t format) = 0;
|
|
virtual int pmuReadSingle(int fd, uint64_t *data, ssize_t sizeOfdata) = 0;
|
|
static PmuInterface *create(LinuxSysmanImp *pLinuxSysmanImp);
|
|
};
|
|
|
|
} // namespace L0
|