mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-23 11:03:02 +08:00
23 lines
365 B
C
23 lines
365 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;
|
||
|
|
static OsEngine *create(OsSysman *pOsSysman);
|
||
|
|
virtual ~OsEngine() = default;
|
||
|
|
};
|
||
|
|
|
||
|
|
} // namespace L0
|