v8/test/unittests/base/platform
Ivica Bogosavljevic 57f0e26fa9 Fix ThreadTicks.ThreadNow on systems with low resolution timers
Test ThreadTicks.ThreadNow fails on systems with low resolution
thread timers because the tests detects that no time elapsed
since the beginning of the test.
This CL adds a counting loop that makes sure the thread
timer has progressed by at least one tick.

TEST=unittests/ThreadTicks.ThreadNow

Change-Id: I910309208b3a154798cbc43813d41d3755ab819d
Reviewed-on: https://chromium-review.googlesource.com/1082352
Commit-Queue: Ivica Bogosavljevic <ivica.bogosavljevic@mips.com>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53548}
2018-06-06 11:47:41 +00:00
..
condition-variable-unittest.cc [presubmit] Enabling readability/inheritance linter checking. 2015-11-04 13:08:42 +00:00
mutex-unittest.cc Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
platform-unittest.cc [Memory] Create memory management API in v8::internal. 2017-12-15 18:49:47 +00:00
semaphore-unittest.cc [presubmit] Enabling readability/inheritance linter checking. 2015-11-04 13:08:42 +00:00
time-unittest.cc Fix ThreadTicks.ThreadNow on systems with low resolution timers 2018-06-06 11:47:41 +00:00