bench-memcpy: Collect data from 2KB to 4KB

Collect data on memcpy from 2KB to 4KB with the 64-byte increment value.
This commit is contained in:
H.J. Lu 2021-04-30 10:10:47 -07:00
parent b03e4d7bd2
commit 98544f5bcf

View file

@ -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);