diff options
Diffstat (limited to 'src/ats-tests/ats-testing.h')
-rw-r--r-- | src/ats-tests/ats-testing.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/ats-tests/ats-testing.h b/src/ats-tests/ats-testing.h index a2e61c0d6..42b6b9eb3 100644 --- a/src/ats-tests/ats-testing.h +++ b/src/ats-tests/ats-testing.h | |||
@@ -283,7 +283,15 @@ struct BenchmarkPartner | |||
283 | */ | 283 | */ |
284 | struct GNUNET_TRANSPORT_TransmitHandle *tth; | 284 | struct GNUNET_TRANSPORT_TransmitHandle *tth; |
285 | 285 | ||
286 | |||
287 | /** | ||
288 | * Handle for traffic generator | ||
289 | */ | ||
286 | struct TrafficGenerator *tg; | 290 | struct TrafficGenerator *tg; |
291 | |||
292 | /** | ||
293 | * Handle for preference generator | ||
294 | */ | ||
287 | struct PreferenceGenerator *pg; | 295 | struct PreferenceGenerator *pg; |
288 | 296 | ||
289 | /** | 297 | /** |
@@ -317,29 +325,21 @@ struct BenchmarkPartner | |||
317 | unsigned int bytes_received; | 325 | unsigned int bytes_received; |
318 | 326 | ||
319 | /* Current ATS properties */ | 327 | /* Current ATS properties */ |
328 | struct GNUNET_ATS_Properties props; | ||
320 | 329 | ||
321 | uint32_t ats_distance; | 330 | /* Bandwidth assigned inbound */ |
322 | |||
323 | uint32_t ats_delay; | ||
324 | |||
325 | uint32_t bandwidth_in; | 331 | uint32_t bandwidth_in; |
326 | 332 | ||
333 | /* Bandwidth assigned outbound */ | ||
327 | uint32_t bandwidth_out; | 334 | uint32_t bandwidth_out; |
328 | 335 | ||
329 | uint32_t ats_utilization_up; | 336 | /* Current preference values for bandwidth */ |
330 | 337 | double pref_bandwidth; | |
331 | uint32_t ats_utilization_down; | ||
332 | |||
333 | uint32_t ats_network_type; | ||
334 | |||
335 | uint32_t ats_cost_wan; | ||
336 | 338 | ||
337 | uint32_t ats_cost_lan; | 339 | /* Current preference values for delay */ |
340 | double pref_delay; | ||
338 | 341 | ||
339 | uint32_t ats_cost_wlan; | ||
340 | 342 | ||
341 | double pref_bandwidth; | ||
342 | double pref_delay; | ||
343 | }; | 343 | }; |
344 | 344 | ||
345 | /** | 345 | /** |