mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
Revert "fix: ulls controller sleep, windows"
This reverts commit 672cc0ebc7.
Resolves: HSD-18038912878, NEO-11770
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a9795349b4
commit
dc26b25169
@@ -1,20 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/direct_submission/direct_submission_controller.h"
|
||||
#include "shared/source/helpers/sleep.h"
|
||||
#include "shared/source/os_interface/windows/sys_calls.h"
|
||||
|
||||
#include <chrono>
|
||||
#include <thread>
|
||||
namespace NEO {
|
||||
void DirectSubmissionController::sleep() {
|
||||
SysCalls::timeBeginPeriod(1u);
|
||||
NEO::sleep(std::chrono::microseconds(this->timeout));
|
||||
SysCalls::timeEndPeriod(1u);
|
||||
}
|
||||
} // namespace NEO
|
||||
Reference in New Issue
Block a user