diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2019-02-14 16:37:11 +0000 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2019-02-14 16:37:11 +0000 |
commit | 3904fd85d3fdf0573e9a1e12e32bcd8cb246f549 (patch) | |
tree | dd634a8a3a5c2fc316f203fafe64001f52e98172 /nptl/shlib-versions | |
parent | 24ca04febef611ad942ad5ebe3a3c7011b10c550 (diff) | |
download | glibc-3904fd85d3fdf0573e9a1e12e32bcd8cb246f549.tar.gz glibc-3904fd85d3fdf0573e9a1e12e32bcd8cb246f549.tar.xz glibc-3904fd85d3fdf0573e9a1e12e32bcd8cb246f549.zip |
Add malloc micro benchmark
Add a malloc micro benchmark to enable accurate testing of the various paths in malloc and free. The benchmark does a varying number of allocations of a given block size, then frees them again. It tests 3 different scenarios: single-threaded using main arena, multi-threaded using thread-arena, main arena with SINGLE_THREAD_P false. * benchtests/Makefile: Add malloc-simple benchmark. * benchtests/bench-malloc-simple.c: New benchmark.
Diffstat (limited to 'nptl/shlib-versions')
0 files changed, 0 insertions, 0 deletions