GNUnet  0.11.x
Data Fields
FeedbackCtx Struct Reference

Context for operation queues of type OPERATION_QUEUE_TYPE_ADAPTIVE. More...

Collaboration diagram for FeedbackCtx:
[legend]

Data Fields

struct SDHandlesd
 Handle for calculating standard deviation. More...
 
struct TimeSlotalloc_head
 Head for DLL of time slots which are free to be allocated to operations. More...
 
struct TimeSlotalloc_tail
 Tail for DLL of time slots which are free to be allocated to operations. More...
 
struct TimeSlottslots_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...
 

Detailed Description

Context for operation queues of type OPERATION_QUEUE_TYPE_ADAPTIVE.

Definition at line 118 of file testbed_api_operations.c.

Field Documentation

◆ sd

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().

◆ alloc_head

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().

◆ alloc_tail

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().

◆ tslots_freeptr

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().

◆ tslots_filled

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().

◆ max_active_bound

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_().

◆ nfailed

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().


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