summaryrefslogtreecommitdiffstats
path: root/bench/libdimension/bvst.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-03-04 00:27:06 -0500
committerTavian Barnes <tavianator@gmail.com>2010-03-04 00:27:06 -0500
commit9637b42233c56f0811c7ebb0fe4e96124922a831 (patch)
tree0c52d4d130f6789cdb76302561a26c486b5a0a53 /bench/libdimension/bvst.c
parente3805176cd1e77ccb32410cbd0a4e454dd34b509 (diff)
downloaddimension-9637b42233c56f0811c7ebb0fe4e96124922a831.tar.xz
Use libsandglass 0.2 API.
Diffstat (limited to 'bench/libdimension/bvst.c')
-rw-r--r--bench/libdimension/bvst.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bench/libdimension/bvst.c b/bench/libdimension/bvst.c
index a33a8ba..f08989f 100644
--- a/bench/libdimension/bvst.c
+++ b/bench/libdimension/bvst.c
@@ -112,9 +112,8 @@ main()
long grains;
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;
}