aboutsummaryrefslogtreecommitdiff
path: root/benchtests/bench-memcpy-large.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2017-08-08 00:44:00 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2017-08-08 00:44:00 +0530
commit7ee38e6040d34bca96ee668efbbd2f56b446319d (patch)
treecaf751a9234632f6e213a9d3643be983d08434a8 /benchtests/bench-memcpy-large.c
parentd5afb38503b20d67348071b9ed105238b8da0e11 (diff)
downloadglibc-7ee38e6040d34bca96ee668efbbd2f56b446319d.tar
glibc-7ee38e6040d34bca96ee668efbbd2f56b446319d.tar.gz
glibc-7ee38e6040d34bca96ee668efbbd2f56b446319d.tar.bz2
glibc-7ee38e6040d34bca96ee668efbbd2f56b446319d.zip
benchtests: Use TEST_NAME instead of hardcoding memcpy
The hardcoded 'memcpy' name turns up in other derived tests like mempcpy. * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of hardcoding memcpy. * benchtests/bench-memcpy-large.c (test_name): Likewise. * benchtests/bench-memcpy-random.c (test_name): Likewise.
Diffstat (limited to 'benchtests/bench-memcpy-large.c')
-rw-r--r--benchtests/bench-memcpy-large.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchtests/bench-memcpy-large.c b/benchtests/bench-memcpy-large.c
index ae5e819635..965edf547f 100644
--- a/benchtests/bench-memcpy-large.c
+++ b/benchtests/bench-memcpy-large.c
@@ -118,7 +118,7 @@ test_main (void)
json_attr_string (&json_ctx, "timing_type", TIMING_TYPE);
json_attr_object_begin (&json_ctx, "functions");
- json_attr_object_begin (&json_ctx, "memcpy");
+ json_attr_object_begin (&json_ctx, TEST_NAME);
json_attr_string (&json_ctx, "bench-variant", "large");
json_array_begin (&json_ctx, "ifuncs");