Home | History | Annotate | Download | only in tests

Lines Matching defs:sample_period

122   uint64_t sample_period;
123 sample_period = sampler.GetSamplePeriod();
124 CHECK_GT(sample_period, 0);
270 int sample_period = sampler.GetSamplePeriod();
287 / sample_period);
439 sample_period = 1048583;
445 static uint64_t sample_period;
454 uint64_t OldSampler::sample_period;
465 PickNextSample(sample_period * 2);
477 // Next point is "rnd_ % (sample_period)". I.e., average
478 // increment is "sample_period/2".
485 sample_period = 1048583;
489 bytes_until_sample_ += rnd_ % sample_period;
503 // (sample_period >> 1) to allow us to sample past the current
505 bytes_until_sample_ += (sample_period >> 1);