summaryrefslogtreecommitdiffstats
path: root/bench
diff options
context:
space:
mode:
Diffstat (limited to 'bench')
-rw-r--r--bench/libdimension/array.c4
-rw-r--r--bench/libdimension/list.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/bench/libdimension/array.c b/bench/libdimension/array.c
index 137d532..3fe0c83 100644
--- a/bench/libdimension/array.c
+++ b/bench/libdimension/array.c
@@ -66,12 +66,12 @@ main(void)
/* dmnsn_array_at() */
void *ptr;
sandglass_bench_fine(&sandglass, ptr = dmnsn_array_at(array, count/2));
- printf("dmnsn_array_at(): %ld\n", sandglass.grains);
+ printf("dmnsn_array_at() = %p: %ld\n", ptr, sandglass.grains);
/* dmnsn_array_size() */
size_t size;
sandglass_bench_fine(&sandglass, size = dmnsn_array_size(array));
- printf("dmnsn_array_size(): %ld\n", sandglass.grains);
+ printf("dmnsn_array_size() = %zu: %ld\n", size, sandglass.grains);
/* dmnsn_array_resize() */
dmnsn_array_resize(array, count);
diff --git a/bench/libdimension/list.c b/bench/libdimension/list.c
index ce6c6cc..e00b510 100644
--- a/bench/libdimension/list.c
+++ b/bench/libdimension/list.c
@@ -86,7 +86,7 @@ main(void)
/* dmnsn_list_size() */
size_t size;
sandglass_bench_fine(&sandglass, size = dmnsn_list_size(list));
- printf("dmnsn_list_size(): %ld\n", sandglass.grains);
+ printf("dmnsn_list_size() = %zu: %ld\n", size, sandglass.grains);
/* dmnsn_list_insert() */