Move os_interface files to core

Change-Id: Ie708a944130884248499091854ebc483953fa828
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2020-01-21 15:24:52 +01:00
committed by sys_ocldev
parent 0b141ed4ea
commit 3c89cfc753
109 changed files with 184 additions and 187 deletions

View 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