Values we track for load calculations.
More...
Values we track for load calculations.
Definition at line 35 of file load.c.
◆ autodecline
◆ last_update
Last time this load value was updated by an event.
Definition at line 45 of file load.c.
◆ cummulative_delay
uint64_t GNUNET_LOAD_Value::cummulative_delay |
Sum of all datastore delays ever observed (in ms).
Note that delays above 64k ms are excluded (to avoid overflow within first 4 billion requests).
Definition at line 52 of file load.c.
◆ cummulative_squared_delay
uint64_t GNUNET_LOAD_Value::cummulative_squared_delay |
Sum of squares of all datastore delays ever observed (in ms).
Note that delays above 64k ms are excluded (to avoid overflow within first 4 billion requests).
Definition at line 59 of file load.c.
◆ cummulative_request_count
uint64_t GNUNET_LOAD_Value::cummulative_request_count |
Total number of requests included in the cumulative datastore delay values.
Definition at line 64 of file load.c.
◆ runavg_delay
double GNUNET_LOAD_Value::runavg_delay |
Current running average datastore delay.
Its relation to the average datastore delay and it std. dev. (as calculated from the cumulative values) tells us our current load.
Definition at line 71 of file load.c.
◆ load
double GNUNET_LOAD_Value::load |
How high is the load? 0 for below average, otherwise the number of std.
devs we are above average, or 100 if the load is so high that we currently cannot calculate it.
Definition at line 78 of file load.c.
The documentation for this struct was generated from the following file: