move rateHelper() to detail/Stats.h
authorAdam Simpkins <simpkins@fb.com>
Wed, 17 Apr 2013 03:41:29 +0000 (20:41 -0700)
committerSara Golemon <sgolemon@fb.com>
Mon, 20 May 2013 18:01:26 +0000 (11:01 -0700)
commit26b90449dd62f5d9d33c697799892eb203c21b51
tree8861f1edc762c34b96d559d9261e5c11887ccdad
parente9bf39f0e3d57672e03d01a788f097c76405362e
move rateHelper() to detail/Stats.h

Summary:
The BucketedTimeSeries::rateHelper() function is generic, and not
specific to the BucketedTimeSeries class.  This diff moves it to
folly/detail/Stats.h, so other parts of the stats code can access it as
well.

Test Plan: Ran the folly unit tests.

Reviewed By: delong.j@fb.com

FB internal diff: D778115
folly/detail/Stats.h
folly/stats/BucketedTimeSeries.h