#include "third_party/blink/renderer/platform/scheduler/common/ukm_task_sampler.h"
#include "third_party/blink/renderer/platform/wtf/math_extras.h"
namespace blink {
namespace scheduler {
UkmTaskSampler::UkmTaskSampler(double thread_time_sampling_rate,
double ukm_task_sampling_rate)
: … { … }
double UkmTaskSampler::GetConditionalSamplingProbability(bool has_thread_time) { … }
bool UkmTaskSampler::ShouldRecordTaskUkm(bool has_thread_time) { … }
void UkmTaskSampler::SetUkmTaskSamplingRate(double rate) { … }
}
}