diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-10-04 13:16:25 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-10-04 13:16:25 +0000 |
commit | e19f7147dfa02121c0195b27f27292e889b94742 (patch) | |
tree | d6aa4f7dde43a5014f5d863102b299bc8674f1b7 /src/ats | |
parent | fbdc3df2395a5ad8ab67aba4ea0f522100ea2f40 (diff) | |
download | gnunet-e19f7147dfa02121c0195b27f27292e889b94742.tar.gz gnunet-e19f7147dfa02121c0195b27f27292e889b94742.zip |
- fixes
Diffstat (limited to 'src/ats')
-rw-r--r-- | src/ats/gnunet-service-ats_addresses_mlp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ats/gnunet-service-ats_addresses_mlp.c b/src/ats/gnunet-service-ats_addresses_mlp.c index 89c35ab32..b3c1512ce 100644 --- a/src/ats/gnunet-service-ats_addresses_mlp.c +++ b/src/ats/gnunet-service-ats_addresses_mlp.c | |||
@@ -824,7 +824,7 @@ lp_solv: | |||
824 | end = GNUNET_TIME_absolute_get (); | 824 | end = GNUNET_TIME_absolute_get (); |
825 | duration = GNUNET_TIME_absolute_get_difference (start, end); | 825 | duration = GNUNET_TIME_absolute_get_difference (start, end); |
826 | mlp->lp_solved++; | 826 | mlp->lp_solved++; |
827 | mlp->lp_total_duration =+ duration.rel_value; | 827 | mlp->lp_total_duration += duration.rel_value; |
828 | s_ctx->lp_duration = duration; | 828 | s_ctx->lp_duration = duration; |
829 | 829 | ||
830 | GNUNET_STATISTICS_update (mlp->stats,"# LP problem solved", 1, GNUNET_NO); | 830 | GNUNET_STATISTICS_update (mlp->stats,"# LP problem solved", 1, GNUNET_NO); |
@@ -901,7 +901,7 @@ mlp_solve_mlp_problem (struct GAS_MLP_Handle *mlp, struct GAS_MLP_SolutionContex | |||
901 | end = GNUNET_TIME_absolute_get (); | 901 | end = GNUNET_TIME_absolute_get (); |
902 | duration = GNUNET_TIME_absolute_get_difference (start, end); | 902 | duration = GNUNET_TIME_absolute_get_difference (start, end); |
903 | mlp->mlp_solved++; | 903 | mlp->mlp_solved++; |
904 | mlp->mlp_total_duration =+ duration.rel_value; | 904 | mlp->mlp_total_duration += duration.rel_value; |
905 | s_ctx->mlp_duration = duration; | 905 | s_ctx->mlp_duration = duration; |
906 | 906 | ||
907 | GNUNET_STATISTICS_update (mlp->stats,"# MLP problem solved", 1, GNUNET_NO); | 907 | GNUNET_STATISTICS_update (mlp->stats,"# MLP problem solved", 1, GNUNET_NO); |
@@ -1725,8 +1725,8 @@ GAS_mlp_address_change_preference (struct GAS_MLP_Handle *mlp, | |||
1725 | { | 1725 | { |
1726 | GNUNET_STATISTICS_update (mlp->stats,"# LP address preference changes", 1, GNUNET_NO); | 1726 | GNUNET_STATISTICS_update (mlp->stats,"# LP address preference changes", 1, GNUNET_NO); |
1727 | 1727 | ||
1728 | struct ATS_Peer *p = mlp_find_peer (mlp, peer); | 1728 | //struct ATS_Peer *p = mlp_find_peer (mlp, peer); |
1729 | p = p; | 1729 | //FIXME to finish implementation |
1730 | /* Here we have to do the matching */ | 1730 | /* Here we have to do the matching */ |
1731 | } | 1731 | } |
1732 | 1732 | ||