18 from src.proto.grpc.testing
import stats_pb2
22 """Histogram class used for recording performance testing data.
24 This class is thread safe.
59 data = stats_pb2.HistogramData()
61 data.min_seen = self.
_min
62 data.max_seen = self.
_max
71 self.
_buckets[i] += another_data.bucket[i]
74 self.
_sum += another_data.sum
76 self.
_count += another_data.count