diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-10-27 09:21:14 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-10-27 09:21:14 +0000 |
commit | 71f77f1be3d6e2da1b88fe4a4fdd44c3c69b5325 (patch) | |
tree | 5570130fdab90ad02f4b5bfda414d13161f0f3d1 /src/util/perf_crypto_hash.c | |
parent | 1d7368a52af332af35ec6de22affef4f5f0c1da4 (diff) | |
download | gnunet-71f77f1be3d6e2da1b88fe4a4fdd44c3c69b5325.tar.gz gnunet-71f77f1be3d6e2da1b88fe4a4fdd44c3c69b5325.zip |
Changed GNUNET_TIME_Absolute and GNUNET_TIME_Relative to allow safe comparisons between time values
Diffstat (limited to 'src/util/perf_crypto_hash.c')
-rw-r--r-- | src/util/perf_crypto_hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/perf_crypto_hash.c b/src/util/perf_crypto_hash.c index 82170223f..579d9afca 100644 --- a/src/util/perf_crypto_hash.c +++ b/src/util/perf_crypto_hash.c | |||
@@ -58,7 +58,7 @@ main (int argc, char *argv[]) | |||
58 | perfHash (); | 58 | perfHash (); |
59 | printf ("Hash perf took %llu ms\n", | 59 | printf ("Hash perf took %llu ms\n", |
60 | (unsigned long long) | 60 | (unsigned long long) |
61 | GNUNET_TIME_absolute_get_duration (start).value); | 61 | GNUNET_TIME_absolute_get_duration (start).rel_value); |
62 | return 0; | 62 | return 0; |
63 | } | 63 | } |
64 | 64 | ||