[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r14468 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r14468 - gnunet/src/util |
Date: |
Fri, 18 Feb 2011 22:50:32 +0100 |
Author: grothoff
Date: 2011-02-18 22:50:32 +0100 (Fri, 18 Feb 2011)
New Revision: 14468
Modified:
gnunet/src/util/perf_crypto_hash.c
Log:
gaugering
Modified: gnunet/src/util/perf_crypto_hash.c
===================================================================
--- gnunet/src/util/perf_crypto_hash.c 2011-02-18 21:47:10 UTC (rev 14467)
+++ gnunet/src/util/perf_crypto_hash.c 2011-02-18 21:50:32 UTC (rev 14468)
@@ -27,6 +27,7 @@
#include "gnunet_common.h"
#include "gnunet_crypto_lib.h"
#include "gnunet_time_lib.h"
+#include <gauger.h>
static void
perfHash ()
@@ -59,6 +60,8 @@
printf ("Hash perf took %llu ms\n",
(unsigned long long)
GNUNET_TIME_absolute_get_duration (start).rel_value);
+ GAUGER ("Cryptographic hashing_kb/s",
+ 1024 * 64 * 1024 / (1+GNUNET_TIME_absolute_get_duration
(start).rel_value));
return 0;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r14468 - gnunet/src/util,
gnunet <=