gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r28503 - gnunet-fuse/src/fuse


From: gnunet
Subject: [GNUnet-SVN] r28503 - gnunet-fuse/src/fuse
Date: Sun, 11 Aug 2013 23:22:39 +0200

Author: grothoff
Date: 2013-08-11 23:22:39 +0200 (Sun, 11 Aug 2013)
New Revision: 28503

Modified:
   gnunet-fuse/src/fuse/gfs_download.c
Log:
changing time measurement from milliseconds to microseconds

Modified: gnunet-fuse/src/fuse/gfs_download.c
===================================================================
--- gnunet-fuse/src/fuse/gfs_download.c 2013-08-11 21:22:35 UTC (rev 28502)
+++ gnunet-fuse/src/fuse/gfs_download.c 2013-08-11 21:22:39 UTC (rev 28503)
@@ -128,9 +128,9 @@
       GNUNET_break (info->value.download.dc == ctx->dc);
       s =
        GNUNET_STRINGS_byte_size_fancy (info->value.download.completed *
-                                       1000 /
+                                       1000000LL /
                                        (info->value.download.
-                                        duration.rel_value + 1));
+                                        duration.rel_value_us + 1));
       GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                  "Downloading `%s' done (%s/s).\n",
                  info->value.download.filename, s);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]