From 2debb60e6a2c3cafab0c9095944d316672a8b4a0 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 3 Feb 2014 09:44:09 +0000 Subject: experiment parsing + test.exp containing different examples --- src/ats-tests/ats-testing.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/ats-tests/ats-testing.h') 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) ( typedef void (*GNUNET_ATS_TESTING_ExperimentDoneCallback) (struct Experiment *e, struct GNUNET_TIME_Relative duration,int success); +/** + * An operation in an experiment + */ struct Operation { struct Operation *next; struct Operation *prev; + long long unsigned int src_id; long long unsigned int dest_id; - long long unsigned int value; + + long long unsigned int base_rate; + long long unsigned int max_rate; + struct GNUNET_TIME_Relative period; + enum OperationType type; + enum TrafficGeneratorType tg_type; }; struct Episode -- cgit v1.2.3