Context information for use in GNUNET_TESTBED_get_statistics() More...
Data Fields | |
struct GNUNET_TESTBED_Operation * | main_op |
The main operation we generate while creating this context. More... | |
struct GNUNET_TESTBED_Operation ** | ops |
The service connect operations we create to open connection to the statistics service of each given peer. More... | |
struct GNUNET_TESTBED_Peer ** | peers |
The array of peers whose statistics services are to be accessed. More... | |
char * | subsystem |
The subsystem of peers for which statistics are requested. More... | |
char * | name |
The particular statistics value of interest. More... | |
GNUNET_TESTBED_StatisticsIterator | proc |
The iterator to call with statistics information. More... | |
GNUNET_TESTBED_OperationCompletionCallback | cont |
The callback to call when we are done iterating through all peers' statistics services. More... | |
void * | cb_cls |
The closure for the above callbacks. More... | |
struct GNUNET_SCHEDULER_Task * | call_completion_task_id |
The task for calling the continuation callback. More... | |
unsigned int | num_peers |
The number of peers present in the peers array. More... | |
unsigned int | num_completed |
How many peers' statistics have we iterated through. More... | |
Context information for use in GNUNET_TESTBED_get_statistics()
Definition at line 50 of file testbed_api_statistics.c.
struct GNUNET_TESTBED_Operation* GetStatsContext::main_op |
The main operation we generate while creating this context.
Definition at line 55 of file testbed_api_statistics.c.
struct GNUNET_TESTBED_Operation** GetStatsContext::ops |
The service connect operations we create to open connection to the statistics service of each given peer.
Definition at line 61 of file testbed_api_statistics.c.
struct GNUNET_TESTBED_Peer** GetStatsContext::peers |
The array of peers whose statistics services are to be accessed.
Definition at line 66 of file testbed_api_statistics.c.
Referenced by gnunet_testing.Test::add_peer().
char* GetStatsContext::subsystem |
The subsystem of peers for which statistics are requested.
Definition at line 71 of file testbed_api_statistics.c.
Referenced by gnunet_testing.StatisticsCondition::check(), gnunet_testing.EqualStatisticsCondition::check(), gnunet_testing.StatisticsCondition::evaluate(), gnunet_testing.EqualStatisticsCondition::evaluate(), and service_connect_comp().
char* GetStatsContext::name |
The particular statistics value of interest.
Definition at line 76 of file testbed_api_statistics.c.
Referenced by gnunet_testing.StatisticsCondition::check(), gnunet_testing.EqualStatisticsCondition::check(), gnunet_testing.StatisticsCondition::evaluate(), gnunet_testing.EqualStatisticsCondition::evaluate(), and service_connect_comp().
GNUNET_TESTBED_StatisticsIterator GetStatsContext::proc |
The iterator to call with statistics information.
Definition at line 81 of file testbed_api_statistics.c.
Referenced by GNUNET_TESTBED_get_statistics(), and gnunet_pyexpect.pexpect::spawn().
GNUNET_TESTBED_OperationCompletionCallback GetStatsContext::cont |
The callback to call when we are done iterating through all peers' statistics services.
Definition at line 87 of file testbed_api_statistics.c.
Referenced by GNUNET_TESTBED_get_statistics().
void* GetStatsContext::cb_cls |
The closure for the above callbacks.
Definition at line 92 of file testbed_api_statistics.c.
struct GNUNET_SCHEDULER_Task* GetStatsContext::call_completion_task_id |
The task for calling the continuation callback.
Definition at line 97 of file testbed_api_statistics.c.
unsigned int GetStatsContext::num_peers |
The number of peers present in the peers array.
This number also represents the number of service connect operations in the ops array
Definition at line 103 of file testbed_api_statistics.c.
unsigned int GetStatsContext::num_completed |
How many peers' statistics have we iterated through.
Definition at line 108 of file testbed_api_statistics.c.