GNUnet  0.11.x
Data Fields
SingleTestRun Struct Reference

Structure to define a single test. More...

Collaboration diagram for SingleTestRun:
[legend]

Data Fields

char * name
 Name of the test. More...
 
InitPeer init_peer
 Called with a single peer in order to initialise that peer. More...
 
PreTest pre_test
 Called directly after connecting to the service. More...
 
MainTest main_test
 Main function for each peer. More...
 
ReplyHandle reply_handle
 Callback called once the requested peers are available. More...
 
PostTest post_test
 Called directly before disconnecting from the service. More...
 
EvaluationCallback eval_cb
 Function to evaluate the test results. More...
 
uint32_t request_interval
 Request interval. More...
 
uint32_t num_requests
 Number of Requests to make. More...
 
enum OPTION_CHURN have_churn
 Run with (-out) churn. More...
 
enum OPTION_QUICK_QUIT have_quick_quit
 Quit test before timeout? More...
 
enum OPTION_COLLECT_STATISTICS have_collect_statistics
 Collect statistics at the end? More...
 
enum OPTION_COLLECT_VIEW have_collect_view
 Collect view during run? More...
 
uint32_t stat_collect_flags
 Mark which values from the statistics service to collect at the end of the run. More...
 

Detailed Description

Structure to define a single test.

Definition at line 772 of file gnunet-rps-profiler.c.

Field Documentation

◆ name

char* SingleTestRun::name

Name of the test.

Definition at line 777 of file gnunet-rps-profiler.c.

Referenced by run().

◆ init_peer

InitPeer SingleTestRun::init_peer

Called with a single peer in order to initialise that peer.

Definition at line 782 of file gnunet-rps-profiler.c.

Referenced by run(), and test_run().

◆ pre_test

PreTest SingleTestRun::pre_test

Called directly after connecting to the service.

Definition at line 787 of file gnunet-rps-profiler.c.

Referenced by churn_cb(), rps_connect_adapter(), and run().

◆ main_test

MainTest SingleTestRun::main_test

Main function for each peer.

Definition at line 792 of file gnunet-rps-profiler.c.

Referenced by rps_connect_complete_cb(), and run().

◆ reply_handle

ReplyHandle SingleTestRun::reply_handle

Callback called once the requested peers are available.

Definition at line 797 of file gnunet-rps-profiler.c.

Referenced by run().

◆ post_test

PostTest SingleTestRun::post_test

Called directly before disconnecting from the service.

Definition at line 802 of file gnunet-rps-profiler.c.

Referenced by post_test_op(), and run().

◆ eval_cb

EvaluationCallback SingleTestRun::eval_cb

Function to evaluate the test results.

Definition at line 807 of file gnunet-rps-profiler.c.

Referenced by main(), and run().

◆ request_interval

uint32_t SingleTestRun::request_interval

Request interval.

Definition at line 812 of file gnunet-rps-profiler.c.

Referenced by run(), and schedule_missing_requests().

◆ num_requests

uint32_t SingleTestRun::num_requests

Number of Requests to make.

Definition at line 817 of file gnunet-rps-profiler.c.

Referenced by main(), profiler_init_peer(), and run().

◆ have_churn

enum OPTION_CHURN SingleTestRun::have_churn

Run with (-out) churn.

Definition at line 822 of file gnunet-rps-profiler.c.

Referenced by churn_test_cb(), profiler_cb(), and run().

◆ have_quick_quit

enum OPTION_QUICK_QUIT SingleTestRun::have_quick_quit

Quit test before timeout?

Definition at line 827 of file gnunet-rps-profiler.c.

Referenced by default_reply_handle(), and run().

◆ have_collect_statistics

enum OPTION_COLLECT_STATISTICS SingleTestRun::have_collect_statistics

Collect statistics at the end?

Definition at line 832 of file gnunet-rps-profiler.c.

Referenced by post_profiler(), post_test_op(), run(), and test_run().

◆ have_collect_view

enum OPTION_COLLECT_VIEW SingleTestRun::have_collect_view

Collect view during run?

Definition at line 837 of file gnunet-rps-profiler.c.

Referenced by main(), run(), and test_run().

◆ stat_collect_flags

uint32_t SingleTestRun::stat_collect_flags

Mark which values from the statistics service to collect at the end of the run.

Definition at line 843 of file gnunet-rps-profiler.c.

Referenced by check_statistics_collect_completed_single_peer(), post_profiler(), and run().


The documentation for this struct was generated from the following file: