about summary refs log tree commit diff
path: root/support/xfclose.c
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2017-03-23 19:00:02 +0000
committerWilco Dijkstra <wdijkstr@arm.com>2017-03-23 19:00:02 +0000
commit8d2030d659791184ecac8de9d6e1403b316a94c2 (patch)
treea4156bc46452fdd750fa3dde54f8cca8a81d97e1 /support/xfclose.c
parentca4dc7465917beeb37af32891d4c867b5ac16883 (diff)
downloadglibc-8d2030d659791184ecac8de9d6e1403b316a94c2.tar.gz
glibc-8d2030d659791184ecac8de9d6e1403b316a94c2.tar.xz
glibc-8d2030d659791184ecac8de9d6e1403b316a94c2.zip
Add a new randomized memcpy test for copies up to 256 bytes. The distribution
of the size and alignment is based on a trace of SPEC2006.  Instead of
repeating the same copy over and over again like the existing tests, it times
several thousand different copies to more accurately estimate the overhead of
branch prediction.

	* benchtests/Makefile (string-benchset): Add memcpy-random.
	* benchtests/bench-memcpy-random.c: New file.
Diffstat (limited to 'support/xfclose.c')
0 files changed, 0 insertions, 0 deletions