![]() |
GNUnet
0.16.x
|
Context for operation queues of type OPERATION_QUEUE_TYPE_ADAPTIVE. More...
Data Fields | |
struct SDHandle * | sd |
Handle for calculating standard deviation. More... | |
struct TimeSlot * | alloc_head |
Head for DLL of time slots which are free to be allocated to operations. More... | |
struct TimeSlot * | alloc_tail |
Tail for DLL of time slots which are free to be allocated to operations. More... | |
struct TimeSlot * | tslots_freeptr |
Pointer to the chunk of time slots. More... | |
unsigned int | tslots_filled |
Number of time slots filled so far. More... | |
unsigned int | max_active_bound |
Bound on the maximum number of operations which can be active. More... | |
unsigned int | nfailed |
Number of operations that have failed. More... | |
Context for operation queues of type OPERATION_QUEUE_TYPE_ADAPTIVE.
Definition at line 118 of file testbed_api_operations.c.
struct SDHandle* FeedbackCtx::sd |
Handle for calculating standard deviation.
Definition at line 123 of file testbed_api_operations.c.
Referenced by adapt_parallelism(), GNUNET_TESTBED_operation_queue_create_(), and queue_destroy().
struct TimeSlot* FeedbackCtx::alloc_head |
Head for DLL of time slots which are free to be allocated to operations.
Definition at line 128 of file testbed_api_operations.c.
Referenced by adaptive_queue_set_max_active(), assign_timeslot(), cleanup_tslots(), and update_tslots().
struct TimeSlot* FeedbackCtx::alloc_tail |
Tail for DLL of time slots which are free to be allocated to operations.
Definition at line 133 of file testbed_api_operations.c.
Referenced by adaptive_queue_set_max_active(), assign_timeslot(), cleanup_tslots(), and update_tslots().
struct TimeSlot* FeedbackCtx::tslots_freeptr |
Pointer to the chunk of time slots.
Free all time slots at a time using this pointer.
Definition at line 139 of file testbed_api_operations.c.
Referenced by adapt_parallelism(), adaptive_queue_set_max_active(), and cleanup_tslots().
unsigned int FeedbackCtx::tslots_filled |
Number of time slots filled so far.
Definition at line 144 of file testbed_api_operations.c.
Referenced by cleanup_tslots(), and update_tslots().
unsigned int FeedbackCtx::max_active_bound |
Bound on the maximum number of operations which can be active.
Definition at line 149 of file testbed_api_operations.c.
Referenced by adaptive_queue_set_max_active(), and GNUNET_TESTBED_operation_queue_create_().
unsigned int FeedbackCtx::nfailed |
Number of operations that have failed.
Definition at line 154 of file testbed_api_operations.c.
Referenced by adapt_parallelism(), adaptive_queue_set_max_active(), and update_tslots().