Construct a new histogram with "num_buckets" buckets of width "bucket_width".
| 64 | // Construct a new histogram with "num_buckets" buckets of width |
| 65 | // "bucket_width". |
| 66 | Histogram(size_t num_buckets, T bucket_width) |
| 67 | : bucket_width_(bucket_width), buckets_(num_buckets + 1) {} |
| 68 | |
| 69 | // Swap operator allows clean summarizing with external lock, |
| 70 | // when using a histogram on an active data stream. |
nothing calls this directly
no outgoing calls
no test coverage detected