chromium/third_party/blink/renderer/platform/scheduler/common/throttling/wake_up_budget_pool.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/platform/scheduler/common/throttling/wake_up_budget_pool.h"

#include <algorithm>
#include <cstdint>

#include "third_party/blink/renderer/platform/scheduler/common/throttling/task_queue_throttler.h"
#include "third_party/blink/renderer/platform/scheduler/common/tracing_helper.h"

namespace blink {
namespace scheduler {

TaskQueue;

WakeUpBudgetPool::WakeUpBudgetPool(const char* name)
    :{}

WakeUpBudgetPool::~WakeUpBudgetPool() = default;

QueueBlockType WakeUpBudgetPool::GetBlockType() const {}

void WakeUpBudgetPool::SetWakeUpInterval(base::TimeTicks now,
                                         base::TimeDelta interval) {}

void WakeUpBudgetPool::SetWakeUpDuration(base::TimeDelta duration) {}

void WakeUpBudgetPool::AllowLowerAlignmentIfNoRecentWakeUp(
    base::TimeDelta alignment) {}

bool WakeUpBudgetPool::CanRunTasksAt(base::TimeTicks moment) const {}

base::TimeTicks WakeUpBudgetPool::GetTimeTasksCanRunUntil(
    base::TimeTicks now) const {}

base::TimeTicks WakeUpBudgetPool::GetNextAllowedRunTime(
    base::TimeTicks desired_run_time) const {}

void WakeUpBudgetPool::OnWakeUp(base::TimeTicks now) {}

void WakeUpBudgetPool::WriteIntoTrace(perfetto::TracedValue context,
                                      base::TimeTicks now) const {}

}  // namespace scheduler
}  // namespace blink