aboutsummaryrefslogtreecommitdiff
path: root/src/ats/perf_ats_solver.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-12-07 00:17:25 +0000
committerChristian Grothoff <christian@grothoff.org>2014-12-07 00:17:25 +0000
commit2b306e4a9ac8b0f4968a9cc2336fbc346de845e4 (patch)
tree306b3f0b8b66820d867debf38f6e7db45fa0a8ec /src/ats/perf_ats_solver.c
parentfcea691a0f179abf8bde499ac9c68ce34f58422e (diff)
downloadgnunet-2b306e4a9ac8b0f4968a9cc2336fbc346de845e4.tar.gz
gnunet-2b306e4a9ac8b0f4968a9cc2336fbc346de845e4.zip
-fixing misc minor ats test/driver bugs
Diffstat (limited to 'src/ats/perf_ats_solver.c')
-rw-r--r--src/ats/perf_ats_solver.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ats/perf_ats_solver.c b/src/ats/perf_ats_solver.c
index 6fbf547ac..d25d5da58 100644
--- a/src/ats/perf_ats_solver.c
+++ b/src/ats/perf_ats_solver.c
@@ -786,7 +786,7 @@ evaluate (int iteration)
786 786
787 for (cp = ph.N_peers_start; cp <= ph.N_peers_end; cp ++) 787 for (cp = ph.N_peers_start; cp <= ph.N_peers_end; cp ++)
788 { 788 {
789 cur = ph.iterations_results[ph.current_iteration-1].results_array[cp]; 789 cur = ph.iterations_results[ph.current_iteration-1].results_array[cp];
790 if (0 == cp) 790 if (0 == cp)
791 continue; 791 continue;
792 if (NULL == cur) 792 if (NULL == cur)
@@ -794,6 +794,7 @@ evaluate (int iteration)
794 GNUNET_break (0); 794 GNUNET_break (0);
795 fprintf (stderr, 795 fprintf (stderr,
796 "Missing result for %u peers\n", cp); 796 "Missing result for %u peers\n", cp);
797 continue;
797 } 798 }
798 799
799 800
@@ -845,9 +846,9 @@ evaluate (int iteration)
845 (unsigned long long )cur->d_mlp_full.rel_value_us); 846 (unsigned long long )cur->d_mlp_full.rel_value_us);
846 } 847 }
847 } 848 }
848
849} 849}
850 850
851
851/** 852/**
852 * Evaluate average results for all iterations 853 * Evaluate average results for all iterations
853 */ 854 */