aboutsummaryrefslogtreecommitdiff
path: root/src/fs/test_fs_list_indexed.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-11 21:21:56 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-11 21:21:56 +0000
commit3d7fefedc9ba60bd8e8448efe8b628446d958536 (patch)
tree61ce41a52cd6e7232cead77818ef265993b2427e /src/fs/test_fs_list_indexed.c
parent4a0398474db197abed243a123fb971fbeeffab4b (diff)
downloadgnunet-3d7fefedc9ba60bd8e8448efe8b628446d958536.tar.gz
gnunet-3d7fefedc9ba60bd8e8448efe8b628446d958536.zip
changing time measurement from milliseconds to microseconds
Diffstat (limited to 'src/fs/test_fs_list_indexed.c')
-rw-r--r--src/fs/test_fs_list_indexed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/test_fs_list_indexed.c b/src/fs/test_fs_list_indexed.c
index 91dad7ca9..b505e8a18 100644
--- a/src/fs/test_fs_list_indexed.c
+++ b/src/fs/test_fs_list_indexed.c
@@ -95,10 +95,10 @@ progress_cb (void *cls, const struct GNUNET_FS_ProgressInfo *event)
95 case GNUNET_FS_STATUS_PUBLISH_COMPLETED: 95 case GNUNET_FS_STATUS_PUBLISH_COMPLETED:
96 ret = event->value.publish.cctx; 96 ret = event->value.publish.cctx;
97 printf ("Publish complete, %llu kbps.\n", 97 printf ("Publish complete, %llu kbps.\n",
98 (unsigned long long) (FILESIZE * 1000 / 98 (unsigned long long) (FILESIZE * 1000000LL /
99 (1 + 99 (1 +
100 GNUNET_TIME_absolute_get_duration 100 GNUNET_TIME_absolute_get_duration
101 (start).rel_value) / 1024)); 101 (start).rel_value_us) / 1024));
102 if (0 == strcmp ("list_indexed-context-dir", event->value.publish.cctx)) 102 if (0 == strcmp ("list_indexed-context-dir", event->value.publish.cctx))
103 GNUNET_SCHEDULER_add_continuation (&list_indexed_task, NULL, 103 GNUNET_SCHEDULER_add_continuation (&list_indexed_task, NULL,
104 GNUNET_SCHEDULER_REASON_PREREQ_DONE); 104 GNUNET_SCHEDULER_REASON_PREREQ_DONE);