diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-03-26 16:39:54 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-03-26 16:39:54 +0000 |
commit | 0fb46b5b17698fb04373e55e4130f0635b1bcccc (patch) | |
tree | e9b6de3f7cb51ee96d6f9119698ff7863e54ae2e /src/include/gnunet_testbed_service.h | |
parent | fec18deaff1382f2fc7598cb4a5c87865447ddda (diff) | |
download | gnunet-0fb46b5b17698fb04373e55e4130f0635b1bcccc.tar.gz gnunet-0fb46b5b17698fb04373e55e4130f0635b1bcccc.zip |
- allow getting statistics of a particular subsystem and name in testbed
Diffstat (limited to 'src/include/gnunet_testbed_service.h')
-rw-r--r-- | src/include/gnunet_testbed_service.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/gnunet_testbed_service.h b/src/include/gnunet_testbed_service.h index d41087484..438227538 100644 --- a/src/include/gnunet_testbed_service.h +++ b/src/include/gnunet_testbed_service.h | |||
@@ -1339,6 +1339,8 @@ typedef int (*GNUNET_TESTBED_StatisticsIterator) (void *cls, | |||
1339 | * | 1339 | * |
1340 | * @param num_peers number of peers to iterate over | 1340 | * @param num_peers number of peers to iterate over |
1341 | * @param peers array of peers to iterate over | 1341 | * @param peers array of peers to iterate over |
1342 | * @param subsystem limit to the specified subsystem, NULL for all subsystems | ||
1343 | * @param name name of the statistic value, NULL for all values | ||
1342 | * @param proc processing function for each statistic retrieved | 1344 | * @param proc processing function for each statistic retrieved |
1343 | * @param cont continuation to call once call is completed. The completion of this | 1345 | * @param cont continuation to call once call is completed. The completion of this |
1344 | * operation is *ONLY* signalled through this callback -- no | 1346 | * operation is *ONLY* signalled through this callback -- no |
@@ -1349,6 +1351,7 @@ typedef int (*GNUNET_TESTBED_StatisticsIterator) (void *cls, | |||
1349 | struct GNUNET_TESTBED_Operation * | 1351 | struct GNUNET_TESTBED_Operation * |
1350 | GNUNET_TESTBED_get_statistics (unsigned int num_peers, | 1352 | GNUNET_TESTBED_get_statistics (unsigned int num_peers, |
1351 | struct GNUNET_TESTBED_Peer **peers, | 1353 | struct GNUNET_TESTBED_Peer **peers, |
1354 | const char *subsystem, const char *name, | ||
1352 | GNUNET_TESTBED_StatisticsIterator proc, | 1355 | GNUNET_TESTBED_StatisticsIterator proc, |
1353 | GNUNET_TESTBED_OperationCompletionCallback cont, | 1356 | GNUNET_TESTBED_OperationCompletionCallback cont, |
1354 | void *cls); | 1357 | void *cls); |