#include "cc/debug/rendering_stats_instrumentation.h"
#include <stdint.h>
#include "base/memory/ptr_util.h"
namespace cc {
std::unique_ptr<RenderingStatsInstrumentation>
RenderingStatsInstrumentation::Create() { … }
RenderingStatsInstrumentation::RenderingStatsInstrumentation()
: … { … }
RenderingStatsInstrumentation::~RenderingStatsInstrumentation() = default;
RenderingStats RenderingStatsInstrumentation::TakeImplThreadRenderingStats() { … }
void RenderingStatsInstrumentation::IncrementFrameCount(int64_t count) { … }
void RenderingStatsInstrumentation::AddVisibleContentArea(int64_t area) { … }
void RenderingStatsInstrumentation::AddApproximatedVisibleContentArea(
int64_t area) { … }
void RenderingStatsInstrumentation::AddCheckerboardedVisibleContentArea(
int64_t area) { … }
void RenderingStatsInstrumentation::AddCheckerboardedNeedsRecordContentArea(
int64_t area) { … }
void RenderingStatsInstrumentation::AddCheckerboardedNeedsRasterContentArea(
int64_t area) { … }
void RenderingStatsInstrumentation::AddDrawDuration(
base::TimeDelta draw_duration,
base::TimeDelta draw_duration_estimate) { … }
void RenderingStatsInstrumentation::AddBeginMainFrameToCommitDuration(
base::TimeDelta begin_main_frame_to_commit_duration) { … }
void RenderingStatsInstrumentation::AddCommitToActivateDuration(
base::TimeDelta commit_to_activate_duration,
base::TimeDelta commit_to_activate_duration_estimate) { … }
}