diff options
author | Supriti Singh <supritisingh08@gmail.com> | 2014-08-25 19:25:27 +0000 |
---|---|---|
committer | Supriti Singh <supritisingh08@gmail.com> | 2014-08-25 19:25:27 +0000 |
commit | f2678662372b0a43a6045ce2edb6cfe8f600a370 (patch) | |
tree | ba87932574a9104f79a34307407b1eb97f5f0a9a /src/dht/gnunet_dht_profiler.c | |
parent | 79fe43e09ece9b32e2a14d0af71cebc412945bf3 (diff) | |
download | gnunet-f2678662372b0a43a6045ce2edb6cfe8f600a370.tar.gz gnunet-f2678662372b0a43a6045ce2edb6cfe8f600a370.zip |
- Adding r5n profiler.
- Changes in makefile for r5n profiler
- Correctly adding the trail in add_trail
- Passing correct trail id in PUT message routing lookup
Diffstat (limited to 'src/dht/gnunet_dht_profiler.c')
-rw-r--r-- | src/dht/gnunet_dht_profiler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dht/gnunet_dht_profiler.c b/src/dht/gnunet_dht_profiler.c index 0dca21f2c..2e1447d35 100644 --- a/src/dht/gnunet_dht_profiler.c +++ b/src/dht/gnunet_dht_profiler.c | |||
@@ -577,7 +577,7 @@ get_iter (void *cls, | |||
577 | if (n_active == n_gets_fail + n_gets_ok) | 577 | if (n_active == n_gets_fail + n_gets_ok) |
578 | { | 578 | { |
579 | average_put_path_length = (double)total_put_path_length/(double)n_active; | 579 | average_put_path_length = (double)total_put_path_length/(double)n_active; |
580 | average_get_path_length = (double)total_get_path_length/(double )n_active; | 580 | average_get_path_length = (double)total_get_path_length/(double )n_gets_ok; |
581 | summarize (); | 581 | summarize (); |
582 | } | 582 | } |
583 | } | 583 | } |