From 0ffb9e6718ed1f1cfcbfc0657d0bf3d0e1d0a6e7 Mon Sep 17 00:00:00 2001 From: Claudiu Boriga Date: Thu, 25 Jan 2018 15:04:28 +0100 Subject: [PATCH] Display correct average for requests statistics --- daemon/cli.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/daemon/cli.c b/daemon/cli.c index 2d51d2c7b..8fc148ea3 100644 --- a/daemon/cli.c +++ b/daemon/cli.c @@ -205,11 +205,6 @@ static void cli_incoming_list_totals(str *instr, struct streambuf *replybuffer) deletes_ps = rtpe_totalstats_lastinterval.deletes_ps; mutex_unlock(&rtpe_totalstats_lastinterval_lock); - // compute average offer/answer/delete time - timeval_divide(&offer_iv.time_avg, &offer_iv.time_avg, offer_iv.count); - timeval_divide(&answer_iv.time_avg, &answer_iv.time_avg, answer_iv.count); - timeval_divide(&delete_iv.time_avg, &delete_iv.time_avg, delete_iv.count); - streambuf_printf(replybuffer, "\nGraphite interval statistics (last reported values to graphite):\n"); streambuf_printf(replybuffer, " Total calls duration :%ld.%06ld\n\n",calls_dur_iv.tv_sec,calls_dur_iv.tv_usec); streambuf_printf(replybuffer, " Min managed sessions :"UINT64F"\n", min_sess_iv);