This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch hjl/benchtests/wall-time created. glibc-2.23-500-g7c8925f
- From: hjl at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 21 Jun 2016 18:33:13 -0000
- Subject: GNU C Library master sources branch hjl/benchtests/wall-time created. glibc-2.23-500-g7c8925f
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, hjl/benchtests/wall-time has been created
at 7c8925fd2bf3834084106073c2592443bf5d6235 (commit)
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=7c8925fd2bf3834084106073c2592443bf5d6235
commit 7c8925fd2bf3834084106073c2592443bf5d6235
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Tue Jun 21 11:31:45 2016 -0700
Force to use clock_gettime
diff --git a/benchtests/bench-timing.h b/benchtests/bench-timing.h
index 09f4486..957752a 100644
--- a/benchtests/bench-timing.h
+++ b/benchtests/bench-timing.h
@@ -19,6 +19,10 @@
#include <hp-timing.h>
#include <stdint.h>
+/* Force to use clock_gettime. */
+#undef USE_CLOCK_GETTIME
+#define USE_CLOCK_GETTIME
+
#if HP_TIMING_AVAIL && !defined USE_CLOCK_GETTIME
# define GL(x) _##x
# define GLRO(x) _##x
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=0d65bc2213df608729b2b2ecc2599077d425db82
commit 0d65bc2213df608729b2b2ecc2599077d425db82
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Apr 7 08:27:12 2016 -0700
Skip simple and builtin memory implementations
diff --git a/benchtests/bench-memcpy.c b/benchtests/bench-memcpy.c
index 9d9e7b6..1ea3afe 100644
--- a/benchtests/bench-memcpy.c
+++ b/benchtests/bench-memcpy.c
@@ -26,8 +26,10 @@
char *simple_memcpy (char *, const char *, size_t);
char *builtin_memcpy (char *, const char *, size_t);
+#if 0
IMPL (simple_memcpy, 0)
IMPL (builtin_memcpy, 0)
+#endif
IMPL (memcpy, 1)
char *
diff --git a/benchtests/bench-memmove.c b/benchtests/bench-memmove.c
index 3858f2a..e51f024 100644
--- a/benchtests/bench-memmove.c
+++ b/benchtests/bench-memmove.c
@@ -41,7 +41,9 @@ simple_bcopy (const char *src, char *dst, size_t n)
#else
typedef char *(*proto_t) (char *, const char *, size_t);
+#if 0
IMPL (simple_memmove, 0)
+#endif
IMPL (memmove, 1)
#endif
diff --git a/benchtests/bench-memset.c b/benchtests/bench-memset.c
index 98ec257..bd90659 100644
--- a/benchtests/bench-memset.c
+++ b/benchtests/bench-memset.c
@@ -67,11 +67,13 @@ builtin_bzero (char *s, size_t n)
#else
typedef CHAR *(*proto_t) (CHAR *, int, size_t);
+#if 0
IMPL (SIMPLE_MEMSET, 0)
# ifndef WIDE
char *builtin_memset (char *, int, size_t);
IMPL (builtin_memset, 0)
# endif /* !WIDE */
+#endif
IMPL (MEMSET, 1)
# ifndef WIDE
-----------------------------------------------------------------------
hooks/post-receive
--
GNU C Library master sources