Remove ULT

Resolves: NEO-5711

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
This commit is contained in:
Adam Cetnerowski
2021-04-24 18:39:56 +02:00
committed by Compute-Runtime-Automation
parent 2d1ef04100
commit 2ef41e4b18

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2017-2020 Intel Corporation
* Copyright (C) 2017-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -15,28 +15,6 @@
using namespace NEO;
TEST(TimerTest, WhenStartingEndingTimerThenDeltaInExpectedRange) {
Timer::setFreq();
Timer timer;
auto loopCount = 100u;
unsigned long long maxDelta = 0;
unsigned long long minDelta = -1;
while (loopCount--) {
timer.start();
timer.end();
unsigned long long currentDelta = timer.get();
maxDelta = std::max(currentDelta, maxDelta);
minDelta = std::min(currentDelta, minDelta);
}
EXPECT_LE(minDelta, 10000u);
//thread switch may cost up to 2s
EXPECT_LE(maxDelta, 2000000000u);
}
TEST(TimerTest, WhenGettingStartEndThenEndIsAfterStart) {
Timer::setFreq();