diff options
Diffstat (limited to 'bench/libdimension/geometry.c')
-rw-r--r-- | bench/libdimension/geometry.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bench/libdimension/geometry.c b/bench/libdimension/geometry.c index a2523b7..282d3eb 100644 --- a/bench/libdimension/geometry.c +++ b/bench/libdimension/geometry.c @@ -30,9 +30,8 @@ main() double result; 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; } |