Add getTotalCount() to Histogram
authorHasnain Lakhani <mhl@fb.com>
Tue, 19 May 2015 18:26:24 +0000 (11:26 -0700)
committerViswanath Sivakumar <viswanath@fb.com>
Wed, 20 May 2015 17:57:11 +0000 (10:57 -0700)
commit2a919488e71de244afa7297520894ccbff2e0692
treeb9bf6f45b66a600451922cb133a0eff1bc6f61ed
parent3d381a3571e4c773a498ddc5216a52875bd86ae6
Add getTotalCount() to Histogram

Summary:
Add a getTotalCount() method to the Histogram class so that callers
can read out the number of values that were put into the histogram

Test Plan: Added a new test.

Reviewed By: simpkins@fb.com

Subscribers: net-systems@, evanmao, folly-diffs@, yfeldblum, chalfant

FB internal diff: D2078239

Tasks: 7097793

Signature: t1:2078239:1431739799:5de3a02df67ff535e06b4a1547690440cf594824
folly/stats/Histogram-defs.h
folly/stats/Histogram.h
folly/test/HistogramTest.cpp