This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
printing length in benchtests
- From: Rajalakshmi Srinivasaraghavan <raji at linux dot vnet dot ibm dot com>
- To: libc-alpha <libc-alpha at sourceware dot org>
- Date: Thu, 06 Feb 2014 21:47:22 +0530
- Subject: printing length in benchtests
- Authentication-results: sourceware.org; auth=none
Hi All
Should we print len instead of pos in the following 4 benchtests to
interpret the output better?
[raji@localhost benchtests]$ grep -A 1 Length *.c | grep pos | grep -v len
bench-memchr.c: printf ("Length %4zd, alignment %2zd:", pos, align);
bench-rawmemchr.c: printf ("Length %4zd, alignment %2zd:", pos, align);
bench-strchr.c- pos, align * sizeof (CHAR));
bench-strrchr.c: printf ("Length %4zd, alignment in bytes %2zd:", pos,
align * sizeof(CHAR));
[raji@localhost benchtests]$ pwd
/home/raji/glibc-git/benchtests
--
Thanks
Raji