aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-11 21:22:39 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-11 21:22:39 +0000
commit9deb8bab00830e2d6433b9db3290e08c036de63a (patch)
treefa7f1fe6ccc18db93f82aa1fc6bb95b478c9d24b
parent38190765534b1d8b88be5da32e94b3f9eb314e0a (diff)
downloadgnunet-fuse-9deb8bab00830e2d6433b9db3290e08c036de63a.tar.gz
gnunet-fuse-9deb8bab00830e2d6433b9db3290e08c036de63a.zip
changing time measurement from milliseconds to microseconds
-rw-r--r--src/fuse/gfs_download.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fuse/gfs_download.c b/src/fuse/gfs_download.c
index 66ec6f4..8a73f77 100644
--- a/src/fuse/gfs_download.c
+++ b/src/fuse/gfs_download.c
@@ -128,9 +128,9 @@ progress_cb (void *cls, const struct GNUNET_FS_ProgressInfo *info)
128 GNUNET_break (info->value.download.dc == ctx->dc); 128 GNUNET_break (info->value.download.dc == ctx->dc);
129 s = 129 s =
130 GNUNET_STRINGS_byte_size_fancy (info->value.download.completed * 130 GNUNET_STRINGS_byte_size_fancy (info->value.download.completed *
131 1000 / 131 1000000LL /
132 (info->value.download. 132 (info->value.download.
133 duration.rel_value + 1)); 133 duration.rel_value_us + 1));
134 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 134 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
135 "Downloading `%s' done (%s/s).\n", 135 "Downloading `%s' done (%s/s).\n",
136 info->value.download.filename, s); 136 info->value.download.filename, s);