#include "third_party/blink/renderer/platform/scheduler/common/metrics_helper.h"
#include "third_party/blink/renderer/platform/scheduler/common/process_state.h"
namespace blink {
namespace scheduler {
namespace {
constexpr base::TimeDelta kLongTaskDiscardingThreshold = …;
}
MetricsHelper::MetricsHelper(ThreadType thread_type,
bool has_cpu_timing_for_each_task)
: … { … }
MetricsHelper::~MetricsHelper() { … }
bool MetricsHelper::ShouldDiscardTask(
const base::sequence_manager::Task& task,
const base::sequence_manager::TaskQueue::TaskTiming& task_timing) { … }
}
}