summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8c61dbc)
raw | patch | inline | side by side (parent: 8c61dbc)
author | Florian Forster <octo@collectd.org> | |
Tue, 11 Oct 2016 15:27:11 +0000 (17:27 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Sun, 27 Nov 2016 06:55:29 +0000 (07:55 +0100) |
src/utils_latency.c | patch | blob | history | |
src/utils_latency.h | patch | blob | history |
diff --git a/src/utils_latency.c b/src/utils_latency.c
index 1a82eab6c8a3cba9e12907452c1edfca582df6da..24234f83c1347c37ee3046dfe95a03d222f6cbbe 100644 (file)
--- a/src/utils_latency.c
+++ b/src/utils_latency.c
return (latency_interpolated);
} /* }}} cdtime_t latency_counter_get_percentile */
-cdtime_t latency_counter_get_start_time (const latency_counter_t *lc) /* {{{ */
-{
- if (lc == NULL)
- return (0);
-
- return lc->start_time;
-} /* }}} cdtime_t latency_counter_get_start_time */
-
-
double latency_counter_get_rate (const latency_counter_t *lc, /* {{{ */
cdtime_t lower, cdtime_t upper, const cdtime_t now)
{
diff --git a/src/utils_latency.h b/src/utils_latency.h
index add7184207338ed3bd46b9d36bcfaf8cab6394f1..f531d77b75de49b82f58a47a4c6f3ca01c007c4c 100644 (file)
--- a/src/utils_latency.h
+++ b/src/utils_latency.h
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