Get the samples collected. Returns the number of samples and the period they were collected at.
| 89 | /// Get the samples collected. Returns the number of samples and the period they were |
| 90 | /// collected at. |
| 91 | const T* GetSamples(int* num_samples, int* period) const { |
| 92 | *num_samples = samples_collected_; |
| 93 | *period = period_; |
| 94 | return samples_; |
| 95 | } |
| 96 | |
| 97 | private: |
| 98 | /// Aggregated samples collected. Note: this is not all the input samples from |
no outgoing calls