aboutsummaryrefslogtreecommitdiff
path: root/benchtests/bench-strsep-ifunc.c
diff options
context:
space:
mode:
authorRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>2013-11-18 06:03:07 -0600
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-11-18 06:49:44 -0600
commit250c23bdd9557f8609054c7000380e1ebbd351ee (patch)
treedd76c9c1a2debbdb2da0d700b18f20c604d50091 /benchtests/bench-strsep-ifunc.c
parentd540fc8a66507bbbdc7e6594872786527c7667fa (diff)
downloadglibc-250c23bdd9557f8609054c7000380e1ebbd351ee.zip
glibc-250c23bdd9557f8609054c7000380e1ebbd351ee.tar.gz
glibc-250c23bdd9557f8609054c7000380e1ebbd351ee.tar.bz2
benchtests: Add strsep benchmark
Diffstat (limited to 'benchtests/bench-strsep-ifunc.c')
-rw-r--r--benchtests/bench-strsep-ifunc.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/benchtests/bench-strsep-ifunc.c b/benchtests/bench-strsep-ifunc.c
new file mode 100644
index 0000000..2d475bc
--- /dev/null
+++ b/benchtests/bench-strsep-ifunc.c
@@ -0,0 +1,20 @@
+/* Measure IFUNC implementations of strsep function.
+ Copyright (C) 2013 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
+#define TEST_IFUNC 1
+#include "bench-strsep.c"