<Thrift perftest> folly: modify Histogram const, add substract
authorQingyuan Deng <qdeng@fb.com>
Fri, 7 Feb 2014 22:03:19 +0000 (14:03 -0800)
committerDave Watson <davejwatson@fb.com>
Fri, 21 Feb 2014 21:40:49 +0000 (13:40 -0800)
commit98dcfd35f87d4498558cb0509f59dbbd2270b917
treea2ca17ecd9baa5af462c6a378af822b14e01ab53
parent5e8ce83b6808c98f311f088a8d1a085ffec1a672
<Thrift perftest> folly: modify Histogram const, add substract

Summary:
This diff is a split from D1157286 for folly part;
adds a substract function which substracts a histogram data from another;
modifies some of the const specifiers in the Histogram class.

Test Plan: tested on the thrift perftest by adding x-th percentile latency stats

Reviewed By: andrei.alexandrescu@fb.com

FB internal diff: D1158270
folly/stats/Histogram.h