diff options
author | 2017-09-11 16:35:38 +0000 | |
---|---|---|
committer | 2017-09-11 16:35:38 +0000 | |
commit | 348e3303a4dde6012c4af4aa70dccab0ae8a17bf (patch) | |
tree | bf5145369d58d1aaa7c3da597c5ccee1248de97e /lib/libc/stdlib/malloc.c | |
parent | Coverty complains that the return value of sblock() is not checked (diff) | |
download | wireguard-openbsd-348e3303a4dde6012c4af4aa70dccab0ae8a17bf.tar.xz wireguard-openbsd-348e3303a4dde6012c4af4aa70dccab0ae8a17bf.zip |
Use getrusage(2) for the built-in time trial instead of getttimeofday(2).
This makes it possible to measure just the ellapsed user time, which
is what we really care about when benchmarking an algorithm.
OK deraadt@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions