diff options
Diffstat (limited to 'bench/libdimension/array.c')
-rw-r--r-- | bench/libdimension/array.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bench/libdimension/array.c b/bench/libdimension/array.c index 972fff6..dae7c98 100644 --- a/bench/libdimension/array.c +++ b/bench/libdimension/array.c @@ -33,9 +33,8 @@ main() const unsigned int count = 32; sandglass_t sandglass; - sandglass_attributes_t attr = { SANDGLASS_MONOTONIC, SANDGLASS_CPUTIME }; - if (sandglass_create(&sandglass, &attr, &attr) != 0) { + if (sandglass_init_monotonic(&sandglass, SANDGLASS_CPUTIME) != 0) { perror("sandglass_create()"); return EXIT_FAILURE; } |