We keep the statistics organized by subsystem for faster lookup during SET operations. More...
| Data Fields | |
| struct SubsystemEntry * | next | 
| Subsystems are kept in a DLL. | |
| struct SubsystemEntry * | prev | 
| Subsystems are kept in a DLL. | |
| struct StatsEntry * | stat_head | 
| Head of list of values kept for this subsystem. | |
| struct StatsEntry * | stat_tail | 
| Tail of list of values kept for this subsystem. | |
| const char * | service | 
| Name of the subsystem this entry is for, allocated at the end of this struct, do not free(). | |
We keep the statistics organized by subsystem for faster lookup during SET operations.
Definition at line 140 of file gnunet-service-statistics.c.
| struct SubsystemEntry* SubsystemEntry::next | 
Subsystems are kept in a DLL.
Definition at line 145 of file gnunet-service-statistics.c.
Referenced by client_disconnect_cb(), find_subsystem_entry(), and handle_get().
| struct SubsystemEntry* SubsystemEntry::prev | 
Subsystems are kept in a DLL.
Definition at line 150 of file gnunet-service-statistics.c.
| struct StatsEntry* SubsystemEntry::stat_head | 
Head of list of values kept for this subsystem.
Definition at line 155 of file gnunet-service-statistics.c.
Referenced by client_disconnect_cb(), do_shutdown(), find_stat_entry(), handle_get(), handle_set(), handle_watch(), and save().
| struct StatsEntry* SubsystemEntry::stat_tail | 
Tail of list of values kept for this subsystem.
Definition at line 160 of file gnunet-service-statistics.c.
Referenced by do_shutdown(), handle_set(), handle_watch(), and save().
| const char* SubsystemEntry::service | 
Name of the subsystem this entry is for, allocated at the end of this struct, do not free().
Definition at line 166 of file gnunet-service-statistics.c.
Referenced by find_subsystem_entry(), handle_get(), save(), and transmit().