This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

printing length in benchtests


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]