From f66916deea905254061bb07245e007471faf2ecf Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 11 Oct 2016 17:27:11 +0200 Subject: [PATCH] src/utils_latency.[ch]: Remove latency_counter_get_start_time(). --- src/utils_latency.c | 9 --------- src/utils_latency.h | 1 - 2 files changed, 10 deletions(-) diff --git a/src/utils_latency.c b/src/utils_latency.c index 1a82eab6..24234f83 100644 --- a/src/utils_latency.c +++ b/src/utils_latency.c @@ -290,15 +290,6 @@ cdtime_t latency_counter_get_percentile (latency_counter_t *lc, /* {{{ */ 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 add71842..f531d77b 100644 --- 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_start_time (const latency_counter_t *lc); /* * NAME -- 2.30.2