about summary refs log tree commit diff
path: root/nptl/shlib-versions
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2019-02-14 16:37:11 +0000
committerWilco Dijkstra <wdijkstr@arm.com>2019-02-14 16:37:11 +0000
commit3904fd85d3fdf0573e9a1e12e32bcd8cb246f549 (patch)
treedd634a8a3a5c2fc316f203fafe64001f52e98172 /nptl/shlib-versions
parent24ca04febef611ad942ad5ebe3a3c7011b10c550 (diff)
downloadglibc-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