mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Move os_interface files to core
Change-Id: Ie708a944130884248499091854ebc483953fa828 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
0b141ed4ea
commit
3c89cfc753
17
core/os_interface/os_time.cpp
Normal file
17
core/os_interface/os_time.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "core/os_interface/os_time.h"
|
||||
|
||||
#include "core/helpers/hw_info.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
double OSTime::getDeviceTimerResolution(HardwareInfo const &hwInfo) {
|
||||
return hwInfo.capabilityTable.defaultProfilingTimerResolution;
|
||||
};
|
||||
} // namespace NEO
|
||||
Reference in New Issue
Block a user