From: H.J. Lu Date: Fri, 30 Apr 2021 17:10:47 +0000 (-0700) Subject: bench-memcpy: Collect data from 2KB to 4KB X-Git-Tag: upstream/2.34~516 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=98544f5bcf1bef9311463ded60ddd3941c75a547;p=platform%2Fupstream%2Fglibc.git bench-memcpy: Collect data from 2KB to 4KB Collect data on memcpy from 2KB to 4KB with the 64-byte increment value. --- diff --git a/benchtests/bench-memcpy.c b/benchtests/bench-memcpy.c index 5bddaeb..184495d 100644 --- a/benchtests/bench-memcpy.c +++ b/benchtests/bench-memcpy.c @@ -145,6 +145,14 @@ test_main (void) do_test (&json_ctx, 0, 0, getpagesize ()); + for (i = 0; i <= 32; ++i) + { + do_test (&json_ctx, 0, 0, 2048 + 64 * i); + do_test (&json_ctx, i, 0, 2048 + 64 * i); + do_test (&json_ctx, 0, i, 2048 + 64 * i); + do_test (&json_ctx, i, i, 2048 + 64 * i); + } + json_array_end (&json_ctx); json_attr_object_end (&json_ctx); json_attr_object_end (&json_ctx);