Skip to content

Commit 2ef41e4

Browse files
Remove ULT
Resolves: NEO-5711 Signed-off-by: Adam Cetnerowski <[email protected]>
1 parent 2d1ef04 commit 2ef41e4

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

shared/test/unit_test/utilities/timer_util_tests.cpp

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2017-2020 Intel Corporation
2+
* Copyright (C) 2017-2021 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*
@@ -15,28 +15,6 @@
1515

1616
using namespace NEO;
1717

18-
TEST(TimerTest, WhenStartingEndingTimerThenDeltaInExpectedRange) {
19-
Timer::setFreq();
20-
Timer timer;
21-
22-
auto loopCount = 100u;
23-
24-
unsigned long long maxDelta = 0;
25-
unsigned long long minDelta = -1;
26-
27-
while (loopCount--) {
28-
timer.start();
29-
timer.end();
30-
unsigned long long currentDelta = timer.get();
31-
maxDelta = std::max(currentDelta, maxDelta);
32-
minDelta = std::min(currentDelta, minDelta);
33-
}
34-
35-
EXPECT_LE(minDelta, 10000u);
36-
//thread switch may cost up to 2s
37-
EXPECT_LE(maxDelta, 2000000000u);
38-
}
39-
4018
TEST(TimerTest, WhenGettingStartEndThenEndIsAfterStart) {
4119

4220
Timer::setFreq();

0 commit comments

Comments
 (0)