From f26d353e820577c133d26b283bea66c4febeecc3 Mon Sep 17 00:00:00 2001 From: Ido Barnea Date: Thu, 2 Jun 2016 15:17:46 +0300 Subject: flow latency json changes --- src/time_histogram.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/time_histogram.h') diff --git a/src/time_histogram.h b/src/time_histogram.h index da70e677..0d532f1b 100755 --- a/src/time_histogram.h +++ b/src/time_histogram.h @@ -24,11 +24,12 @@ limitations under the License. #include -#include "os_time.h" #include #include -#include "mbuf.h" #include +#include +#include "mbuf.h" +#include "os_time.h" class CTimeHistogramPerPeriodData { public: @@ -85,6 +86,7 @@ public: return period_elem.get_max_usec(); } void dump_json(std::string name,std::string & json ); + void dump_json(Json::Value & json, bool add_histogram = true); uint64_t get_count() {return m_total_cnt;} uint64_t get_high_count() {return m_total_cnt_high;} -- cgit 1.2.3-korg