diff options
Diffstat (limited to 'src/include/gnunet_fs_service.h')
-rw-r--r-- | src/include/gnunet_fs_service.h | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h index 4b7e726dd..f93f4e856 100644 --- a/src/include/gnunet_fs_service.h +++ b/src/include/gnunet_fs_service.h | |||
@@ -1018,21 +1018,32 @@ struct GNUNET_FS_ProgressInfo | |||
1018 | uint64_t data_len; | 1018 | uint64_t data_len; |
1019 | 1019 | ||
1020 | /** | 1020 | /** |
1021 | * How much time passed between us asking for this block and | ||
1022 | * actually getting it? GNUNET_TIME_UNIT_FOREVER_REL if unknown. | ||
1023 | */ | ||
1024 | struct GNUNET_TIME_Relative block_download_duration; | ||
1025 | |||
1026 | /** | ||
1021 | * Depth of the given block in the tree; | 1027 | * Depth of the given block in the tree; |
1022 | * 0 would be the lowest level (DBLOCKS). | 1028 | * 0 would be the lowest level (DBLOCKS). |
1023 | */ | 1029 | */ |
1024 | unsigned int depth; | 1030 | unsigned int depth; |
1025 | 1031 | ||
1026 | /** | 1032 | /** |
1027 | * How much respect did we offer for downloading this block? | 1033 | * How much respect did we offer for downloading this block? (estimate, |
1034 | * because we might have the same request pending for multiple clients, | ||
1035 | * and of course because a transmission may have failed at a lower | ||
1036 | * layer). | ||
1028 | */ | 1037 | */ |
1029 | unsigned int respect_offered; | 1038 | uint32_t respect_offered; |
1030 | 1039 | ||
1031 | /** | 1040 | /** |
1032 | * How much time passed between us asking for this block and | 1041 | * How often did we transmit the request? (estimate, |
1033 | * actually getting it? GNUNET_TIME_UNIT_FOREVER_REL if unknown. | 1042 | * because we might have the same request pending for multiple clients, |
1043 | * and of course because a transmission may have failed at a lower | ||
1044 | * layer). | ||
1034 | */ | 1045 | */ |
1035 | struct GNUNET_TIME_Relative block_download_duration; | 1046 | uint32_t num_transmissions; |
1036 | 1047 | ||
1037 | } progress; | 1048 | } progress; |
1038 | 1049 | ||