

@classmethod
def RecordPercentileSample(cls, source, metric, value):
    source = VerifySource(source)
    reservoir = cls.VARZ_DATA[metric][source]
    if (reservoir == 0):
        reservoir = _SampleSet(cls._MAX_PERCENTILE_SIZE)
        cls.VARZ_DATA[metric][source] = reservoir
    reservoir.Sample(value)

dataset/ETHPy150Open steveniemitz/scales/scales/varz.py VarzReceiver.RecordPercentileSample/original