projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/utils_latency.[ch]: get_rate(): Make lower bound exclusive.
[collectd.git]
/
src
/
utils_latency.h
diff --git
a/src/utils_latency.h
b/src/utils_latency.h
index
add7184
..
8fdf024
100644
(file)
--- a/
src/utils_latency.h
+++ b/
src/utils_latency.h
@@
-48,7
+48,6
@@
size_t latency_counter_get_num (latency_counter_t *lc);
cdtime_t latency_counter_get_average (latency_counter_t *lc);
cdtime_t latency_counter_get_percentile (latency_counter_t *lc,
double percent);
cdtime_t latency_counter_get_average (latency_counter_t *lc);
cdtime_t latency_counter_get_percentile (latency_counter_t *lc,
double percent);
-cdtime_t latency_counter_get_start_time (const latency_counter_t *lc);
/*
* NAME
/*
* NAME
@@
-56,9
+55,10
@@
cdtime_t latency_counter_get_start_time (const latency_counter_t *lc);
*
* DESCRIPTION
* Calculates rate of latency values fall within requested interval.
*
* 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 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);
*/
double latency_counter_get_rate (const latency_counter_t *lc,
cdtime_t lower, cdtime_t upper, const cdtime_t now);