summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2017-09-11 16:35:38 +0000
committermillert <millert@openbsd.org>2017-09-11 16:35:38 +0000
commit348e3303a4dde6012c4af4aa70dccab0ae8a17bf (patch)
treebf5145369d58d1aaa7c3da597c5ccee1248de97e /lib/libc/stdlib/malloc.c
parentCoverty complains that the return value of sblock() is not checked (diff)
downloadwireguard-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