Skip to content
Commit 0997c3d0 authored by Wilco Dijkstra's avatar Wilco Dijkstra
Browse files

benchtests: Add random() benchmark



Add a simple benchmark to measure the overhead of internal libc locks in
the random() implementation on both single- and multi-threaded cases.
This relies on the implementation of random using internal locks to
access shared global data, and that the runtime uses multi-threaded
locking once a thread has been created (even after it finishes).

Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent 05c34952
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment