This is the mail archive of the glibc-cvs@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]

GNU C Library master sources branch siddhesh/bench updated. glibc-2.17-119-g762cecc


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, siddhesh/bench has been updated
       via  762cecc3c79c910ceff50e839d0fb7b063a8e9e1 (commit)
      from  0acc4b863ef0d0268b42c4cfe4bab5f19e8bda5a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=762cecc3c79c910ceff50e839d0fb7b063a8e9e1

commit 762cecc3c79c910ceff50e839d0fb7b063a8e9e1
Author: Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Date:   Tue Feb 12 14:40:20 2013 +0530

    Fix benchmark framework for powerpc

diff --git a/Rules b/Rules
index 22ffe4c..6196548 100644
--- a/Rules
+++ b/Rules
@@ -215,7 +215,7 @@ bench: $(binaries-bench)
 	  mv -f $(objpfx)bench.out $(objpfx)bench.out.old; \
 	fi
 	for run in $^; do \
-	  $(run-bench) >>  $(objpfx)bench.out; \
+	  eval $(run-bench) >>  $(objpfx)bench.out; \
 	done
 
 $(binaries-bench): %: %.o \
diff --git a/benchtests/bench-skeleton.c b/benchtests/bench-skeleton.c
index 1dd1de7..d896ad9 100644
--- a/benchtests/bench-skeleton.c
+++ b/benchtests/bench-skeleton.c
@@ -20,6 +20,7 @@
 #include <stdint.h>
 #include <stdio.h>
 #include <time.h>
+#include <inttypes.h>
 
 int
 main (int argc, char **argv)
@@ -52,6 +53,7 @@ main (int argc, char **argv)
 	}
     }
 
-  printf (FUNCNAME ": TOTAL: %ldns, MAX: %ldns, MIN: %ldns, AVG: %lfns\n",
-	  total, max, min, (double) total / (ITER * NUM_SAMPLES));
+  printf (FUNCNAME ": TOTAL: %"PRId64"ns, MAX: %"PRId64"ns, "
+	  "MIN: %"PRId64"ns, AVG: %lfns\n", total, max, min,
+	  (double) total / (ITER * NUM_SAMPLES));
 }

-----------------------------------------------------------------------

Summary of changes:
 Rules                       |    2 +-
 benchtests/bench-skeleton.c |    6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


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