diff options
Diffstat (limited to 'src/util/test_common_logging_dummy.c')
-rw-r--r-- | src/util/test_common_logging_dummy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/test_common_logging_dummy.c b/src/util/test_common_logging_dummy.c index a1f479976..a360d5dee 100644 --- a/src/util/test_common_logging_dummy.c +++ b/src/util/test_common_logging_dummy.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | (C) 2008 Christian Grothoff (and other contributing authors) | 3 | (C) 2008-2013 Christian Grothoff (and other contributing authors) |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published | 6 | it under the terms of the GNU General Public License as published |
@@ -59,7 +59,7 @@ expensive_func () | |||
59 | GNUNET_log (kind, "L%s %d\n", lvl, expensive_func());\ | 59 | GNUNET_log (kind, "L%s %d\n", lvl, expensive_func());\ |
60 | t2 = GNUNET_TIME_absolute_get ();\ | 60 | t2 = GNUNET_TIME_absolute_get ();\ |
61 | printf ("1%s %llu\n", lvl,\ | 61 | printf ("1%s %llu\n", lvl,\ |
62 | (unsigned long long) GNUNET_TIME_absolute_get_difference (t1, t2).rel_value); \ | 62 | (unsigned long long) GNUNET_TIME_absolute_get_difference (t1, t2).rel_value_us); \ |
63 | } | 63 | } |
64 | 64 | ||
65 | #define pr2(kind,lvl) {\ | 65 | #define pr2(kind,lvl) {\ |
@@ -68,7 +68,7 @@ expensive_func () | |||
68 | GNUNET_log (kind, "L%s %d\n", lvl, expensive_func());\ | 68 | GNUNET_log (kind, "L%s %d\n", lvl, expensive_func());\ |
69 | t2 = GNUNET_TIME_absolute_get ();\ | 69 | t2 = GNUNET_TIME_absolute_get ();\ |
70 | printf ("2%s %llu\n", lvl,\ | 70 | printf ("2%s %llu\n", lvl,\ |
71 | (unsigned long long) GNUNET_TIME_absolute_get_difference (t1, t2).rel_value); \ | 71 | (unsigned long long) GNUNET_TIME_absolute_get_difference (t1, t2).rel_value_us); \ |
72 | } | 72 | } |
73 | 73 | ||
74 | int | 74 | int |