X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_latency.h;h=8fdf02495a3072e301b30b29e48deeb18f9350a1;hb=db8b1cda4841f45af22d149c6bfc575e79289f75;hp=f531d77b75de49b82f58a47a4c6f3ca01c007c4c;hpb=f66916deea905254061bb07245e007471faf2ecf;p=collectd.git diff --git a/src/utils_latency.h b/src/utils_latency.h index f531d77b..8fdf0249 100644 --- a/src/utils_latency.h +++ b/src/utils_latency.h @@ -55,9 +55,10 @@ cdtime_t latency_counter_get_percentile (latency_counter_t *lc, * * DESCRIPTION * Calculates rate of latency values fall within requested interval. - * Interval specified as [lower,upper], i.e. boundaries are inclusive. + * Interval specified as (lower,upper], i.e. the lower boundary is exclusive, + * the upper boundary is inclusive. * When lower is zero, then the interval is (0, upper]. - * When upper is zero, then the interval is [lower, infinity). + * When upper is zero, then the interval is (lower, infinity). */ double latency_counter_get_rate (const latency_counter_t *lc, cdtime_t lower, cdtime_t upper, const cdtime_t now);