summaryrefslogtreecommitdiff
path: root/libc/bionic/bionic_appcompat.cpp
diff options
context:
space:
mode:
authorGiuliano Procida <gprocida@google.com>2021-04-07 14:25:13 +0100
committerGiuliano Procida <gprocida@google.com>2021-04-07 15:14:38 +0100
commitebc88d26a5548d65b45bbec1091d5573d011cc0d (patch)
treed9d420d614a2edbc73744443fd0117980f914f56 /libc/bionic/bionic_appcompat.cpp
parent99d11ebe83b38837990bb485247d80a5d8659f10 (diff)
Use mean CPU time in an attempt to reduce test flakiness
The sleep(3) / clock(3) test is sensitive to outliers in the distribution of CPU consumed by the sleep system call. This changes the measured quantity to be the mean over 5 samples and sets the threshold to 10ms. Bug: 184727758 Change-Id: I20df3b620a5fbf4e58a3ca67306370351ac01d0c Test: treehugger Signed-off-by: Giuliano Procida <gprocida@google.com>
Diffstat (limited to 'libc/bionic/bionic_appcompat.cpp')
0 files changed, 0 insertions, 0 deletions