Expose more functions/constructors on BucketedTimeSeries
authorXuli Liu <xulil@fb.com>
Fri, 3 Feb 2017 22:53:09 +0000 (14:53 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 3 Feb 2017 23:03:00 +0000 (15:03 -0800)
commitc10a6640488dc4805bc383b98734e9c6bf616be1
tree589a606da8197363c50993037a6cd324b30d0a37
parentb90498bc90c4b327fa9877d6a395c0483f4dd686
Expose more functions/constructors on BucketedTimeSeries

Summary: Currently BucketedTimeSeries does not expose enough functions to allow assessing its data, therefore there is no way to do serialization/deserialization. Adding functions/constructors to support this.

Reviewed By: simpkins

Differential Revision: D4500075

fbshipit-source-id: 656ac8a208547d8d3fadf9ea150606b6e74775c9
folly/stats/BucketedTimeSeries-defs.h
folly/stats/BucketedTimeSeries.h
folly/test/TimeseriesTest.cpp