summaryrefslogtreecommitdiff
path: root/src/util/load.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-11-14 17:17:36 +0100
committerChristian Grothoff <christian@grothoff.org>2020-11-14 17:17:36 +0100
commitf62e24a88c21235bc3c901508cfb474509ef2961 (patch)
treeee481be9675674d83f54a6c66dee8356ef1dbcbc /src/util/load.c
parent3522008dfd14f049a821dfba7ba89a27aa27d4aa (diff)
spell checking
Diffstat (limited to 'src/util/load.c')
-rw-r--r--src/util/load.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/load.c b/src/util/load.c
index cfbfa36d6..64f0b19c1 100644
--- a/src/util/load.c
+++ b/src/util/load.c
@@ -59,14 +59,14 @@ struct GNUNET_LOAD_Value
uint64_t cummulative_squared_delay;
/**
- * Total number of requests included in the cummulative datastore delay values.
+ * Total number of requests included in the cumulative datastore delay values.
*/
uint64_t cummulative_request_count;
/**
* Current running average datastore delay. Its relation to the
- * average datastore delay and it std. dev. (as calcualted from the
- * cummulative values) tells us our current load.
+ * average datastore delay and it std. dev. (as calculated from the
+ * cumulative values) tells us our current load.
*/
double runavg_delay;
@@ -163,7 +163,7 @@ calculate_load (struct GNUNET_LOAD_Value *load)
if (load->cummulative_request_count <= 1)
return;
- /* calcuate std dev of latency; we have for n values of "i" that:
+ /* calculate std dev of latency; we have for n values of "i" that:
*
* avg = (sum val_i) / n
* stddev = (sum (val_i - avg)^2) / (n-1)