mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 16:48:45 +08:00
Add logic to implement the following Engine APIs -zetSysmanEngineGet -zetSysmanEngineGetProperties -zetSysmanEngineGetActivity Change-Id: I48fe1d73b7449c80304df09537024cdcfe4e0387 Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
24 lines
442 B
C++
24 lines
442 B
C++
/*
|
|
* Copyright (C) 2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <level_zero/zet_api.h>
|
|
|
|
namespace L0 {
|
|
|
|
struct OsSysman;
|
|
class OsEngine {
|
|
public:
|
|
virtual ze_result_t getActiveTime(uint64_t &activeTime) = 0;
|
|
virtual ze_result_t getEngineGroup(zet_engine_group_t &engineGroup) = 0;
|
|
static OsEngine *create(OsSysman *pOsSysman);
|
|
virtual ~OsEngine() = default;
|
|
};
|
|
|
|
} // namespace L0
|