summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-12-18 14:47:25 -0800
committerElliott Hughes <enh@google.com>2018-12-18 14:47:25 -0800
commit72a54a41a7ef0b1bc5a27e923b6d5b993a5271e0 (patch)
tree0bfa4bf6c2fa17343cf9fe9d6d03dcbf933d19df /libc/malloc_hooks/malloc_hooks.cpp
parent0c499a69e3d8b858f53a7410285416c0cb30f83b (diff)
Make stdlib.getloadavg more resiliant.
Using rint(3) gave us a step where if one side was 1.4 and the other was 1.5, that would be 1 and 2 respectively. So instead use a simple difference. Also log more detail in case this doesn't fix the flakiness. Bug: http://b/121156651 Test: ran tests Change-Id: Ib5b2eb05d2b1eb8c4a10b182a8703510a3ef0cea
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions