mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 15:03:02 +08:00
Change-Id: I1419231a721fab210e166d26a264cae04d661dcd Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com> Signed-off-by: macabral <matias.a.cabral@intel.com> Signed-off-by: davidoli <david.olien@intel.com> Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com> Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com> Signed-off-by: Latif, Raiyan <raiyan.latif@intel.com> Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
25 lines
505 B
C++
25 lines
505 B
C++
/*
|
|
* Copyright (C) 2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <level_zero/zes_api.h>
|
|
|
|
namespace L0 {
|
|
|
|
struct OsSysman;
|
|
class OsEngine {
|
|
public:
|
|
virtual ze_result_t getActiveTime(uint64_t &activeTime) = 0;
|
|
virtual ze_result_t getTimeStamp(uint64_t &timeStamp) = 0;
|
|
virtual ze_result_t getEngineGroup(zes_engine_group_t &engineGroup) = 0;
|
|
static OsEngine *create(OsSysman *pOsSysman);
|
|
virtual ~OsEngine() = default;
|
|
};
|
|
|
|
} // namespace L0
|