printing length in benchtests

Rajalakshmi Srinivasaraghavan raji@linux.vnet.ibm.com
Thu Feb 6 16:17:00 GMT 2014


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



More information about the Libc-alpha mailing list