GNUnet  0.11.x
Data Fields
GNUNET_STATISTICS_Handle Struct Reference

Handle for the service. More...

Collaboration diagram for GNUNET_STATISTICS_Handle:
[legend]

Data Fields

char * subsystem
 Name of our subsystem. More...
 
const struct GNUNET_CONFIGURATION_Handlecfg
 Configuration to use. More...
 
struct GNUNET_MQ_Handlemq
 Message queue to the service. More...
 
struct GNUNET_STATISTICS_GetHandleaction_head
 Head of the linked list of pending actions (first action to be performed). More...
 
struct GNUNET_STATISTICS_GetHandleaction_tail
 Tail of the linked list of actions (for fast append). More...
 
struct GNUNET_STATISTICS_GetHandlecurrent
 Action we are currently busy with (action request has been transmitted, we're now receiving the response from the service). More...
 
struct GNUNET_STATISTICS_WatchEntry ** watches
 Array of watch entries. More...
 
struct GNUNET_SCHEDULER_Taskbackoff_task
 Task doing exponential back-off trying to reconnect. More...
 
struct GNUNET_SCHEDULER_Taskdestroy_task
 Task for running do_destroy(). More...
 
struct GNUNET_TIME_Relative backoff
 Time for next connect retry. More...
 
uint64_t peak_heap_size
 Maximum heap size observed so far (if available). More...
 
uint64_t peak_rss
 Maximum resident set side observed so far (if available). More...
 
unsigned int watches_size
 Size of the watches array. More...
 
int do_destroy
 Should this handle auto-destruct once all actions have been processed? More...
 
int receiving
 Are we currently receiving from the service? More...
 

Detailed Description

Handle for the service.

Definition at line 177 of file statistics_api.c.

Field Documentation

◆ subsystem

char* GNUNET_STATISTICS_Handle::subsystem

Name of our subsystem.

Definition at line 182 of file statistics_api.c.

Referenced by add_setter_action(), GNUNET_STATISTICS_create(), and GNUNET_STATISTICS_destroy().

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_STATISTICS_Handle::cfg

Configuration to use.

Definition at line 187 of file statistics_api.c.

Referenced by GNUNET_STATISTICS_create(), and try_connect().

◆ mq

struct GNUNET_MQ_Handle* GNUNET_STATISTICS_Handle::mq

Message queue to the service.

Definition at line 192 of file statistics_api.c.

Referenced by do_disconnect(), GNUNET_STATISTICS_destroy(), schedule_action(), transmit_get(), transmit_set(), transmit_watch(), and try_connect().

◆ action_head

struct GNUNET_STATISTICS_GetHandle* GNUNET_STATISTICS_Handle::action_head

Head of the linked list of pending actions (first action to be performed).

Definition at line 198 of file statistics_api.c.

Referenced by add_setter_action(), GNUNET_STATISTICS_destroy(), GNUNET_STATISTICS_get(), GNUNET_STATISTICS_get_cancel(), reconnect_later(), schedule_action(), schedule_watch_request(), and try_connect().

◆ action_tail

struct GNUNET_STATISTICS_GetHandle* GNUNET_STATISTICS_Handle::action_tail

Tail of the linked list of actions (for fast append).

Definition at line 203 of file statistics_api.c.

Referenced by add_setter_action(), GNUNET_STATISTICS_destroy(), GNUNET_STATISTICS_get(), GNUNET_STATISTICS_get_cancel(), schedule_action(), schedule_watch_request(), and try_connect().

◆ current

struct GNUNET_STATISTICS_GetHandle* GNUNET_STATISTICS_Handle::current

Action we are currently busy with (action request has been transmitted, we're now receiving the response from the service).

Definition at line 210 of file statistics_api.c.

Referenced by do_disconnect(), GNUNET_STATISTICS_destroy(), GNUNET_STATISTICS_get_cancel(), handle_statistics_end(), handle_statistics_value(), schedule_action(), transmit_get(), transmit_set(), and transmit_watch().

◆ watches

struct GNUNET_STATISTICS_WatchEntry** GNUNET_STATISTICS_Handle::watches

◆ backoff_task

struct GNUNET_SCHEDULER_Task* GNUNET_STATISTICS_Handle::backoff_task

Task doing exponential back-off trying to reconnect.

Definition at line 220 of file statistics_api.c.

Referenced by GNUNET_STATISTICS_destroy(), reconnect_later(), reconnect_task(), schedule_action(), and try_connect().

◆ destroy_task

struct GNUNET_SCHEDULER_Task* GNUNET_STATISTICS_Handle::destroy_task

◆ backoff

struct GNUNET_TIME_Relative GNUNET_STATISTICS_Handle::backoff

Time for next connect retry.

Definition at line 230 of file statistics_api.c.

Referenced by GNUNET_STATISTICS_create(), GNUNET_STATISTICS_destroy(), handle_statistics_end(), and reconnect_later().

◆ peak_heap_size

uint64_t GNUNET_STATISTICS_Handle::peak_heap_size

Maximum heap size observed so far (if available).

Definition at line 235 of file statistics_api.c.

Referenced by update_memory_statistics().

◆ peak_rss

uint64_t GNUNET_STATISTICS_Handle::peak_rss

Maximum resident set side observed so far (if available).

Definition at line 240 of file statistics_api.c.

Referenced by update_memory_statistics().

◆ watches_size

unsigned int GNUNET_STATISTICS_Handle::watches_size

◆ do_destroy

int GNUNET_STATISTICS_Handle::do_destroy

◆ receiving

int GNUNET_STATISTICS_Handle::receiving

Are we currently receiving from the service?

Definition at line 256 of file statistics_api.c.

Referenced by do_disconnect().


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