summaryrefslogtreecommitdiffstats
path: root/tests/monotonic-realticks.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/monotonic-realticks.c')
-rw-r--r--tests/monotonic-realticks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/monotonic-realticks.c b/tests/monotonic-realticks.c
index 9b5daff..51404f5 100644
--- a/tests/monotonic-realticks.c
+++ b/tests/monotonic-realticks.c
@@ -30,14 +30,14 @@ int
main()
{
sandglass_t sandglass;
- sandglass_attributes_t attr = { SANDGLASS_MONOTONIC, SANDGLASS_REALTICKS };
+ sandglass_attributes_t attr = { SANDGLASS_MONOTONIC, SANDGLASS_CPUTIME };
if (sandglass_create(&sandglass, &attr, &attr) != 0) {
perror("sandglass_create()");
return EXIT_FAILURE;
}
- sandglass_bench(&sandglass, sandglass_get_tsc());
+ sandglass_bench_fine(&sandglass, sandglass_get_tsc());
printf("%ld\n", sandglass.grains);