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:
Dominik Dabek
2024-06-21 11:32:33 +00:00
committed by Compute-Runtime-Automation
parent a9795349b4
commit dc26b25169
13 changed files with 11 additions and 97 deletions

View File

@@ -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