aboutsummaryrefslogtreecommitdiff
path: root/src/ats-tests/ats-testing.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-02-03 09:44:09 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-02-03 09:44:09 +0000
commit2debb60e6a2c3cafab0c9095944d316672a8b4a0 (patch)
treec6f7111dcd5c262537c5337960220ddd3ae90c39 /src/ats-tests/ats-testing.h
parentbafb0bbfb1ac82c87cd11b482ef6e3b547637d08 (diff)
downloadgnunet-2debb60e6a2c3cafab0c9095944d316672a8b4a0.tar.gz
gnunet-2debb60e6a2c3cafab0c9095944d316672a8b4a0.zip
experiment parsing + test.exp containing different examples
Diffstat (limited to 'src/ats-tests/ats-testing.h')
-rw-r--r--src/ats-tests/ats-testing.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/ats-tests/ats-testing.h b/src/ats-tests/ats-testing.h
index 7d543e328..56e114bf5 100644
--- a/src/ats-tests/ats-testing.h
+++ b/src/ats-tests/ats-testing.h
@@ -453,14 +453,23 @@ typedef void (*GNUNET_ATS_TESTING_EpisodeDoneCallback) (
453typedef void (*GNUNET_ATS_TESTING_ExperimentDoneCallback) (struct Experiment *e, 453typedef void (*GNUNET_ATS_TESTING_ExperimentDoneCallback) (struct Experiment *e,
454 struct GNUNET_TIME_Relative duration,int success); 454 struct GNUNET_TIME_Relative duration,int success);
455 455
456/**
457 * An operation in an experiment
458 */
456struct Operation 459struct Operation
457{ 460{
458 struct Operation *next; 461 struct Operation *next;
459 struct Operation *prev; 462 struct Operation *prev;
463
460 long long unsigned int src_id; 464 long long unsigned int src_id;
461 long long unsigned int dest_id; 465 long long unsigned int dest_id;
462 long long unsigned int value; 466
467 long long unsigned int base_rate;
468 long long unsigned int max_rate;
469 struct GNUNET_TIME_Relative period;
470
463 enum OperationType type; 471 enum OperationType type;
472 enum TrafficGeneratorType tg_type;
464}; 473};
465 474
466struct Episode 475struct Episode