refactor DHT for new service API
[oweals/gnunet.git] / src / nse / perf_kdf.c
index 0f26ba23369bb7f280b4550bfef9c530a6d07bcc..61e477874115ef2942590d451ee91b2e71f0d3a7 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     Copyright (C) 2002, 2003, 2004, 2006, 2013 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2002, 2003, 2004, 2006, 2013 GNUnet e.V.
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -76,9 +76,9 @@ main (int argc, char *argv[])
           GNUNET_STRINGS_relative_time_to_string (GNUNET_TIME_absolute_get_duration (start),
                                                  GNUNET_YES));
   GAUGER ("NSE", "Proof-of-work hashing",
-          1024 / (1 +
+          1024.0 / (1.0 +
                  GNUNET_TIME_absolute_get_duration
-                 (start).rel_value_us / 1000LL), "hashes/ms");
+                 (start).rel_value_us / 1000.0), "hashes/ms");
   return 0;
 }