Commit 17c2f862 authored by ssid's avatar ssid Committed by Chromium LUCI CQ

Update ASYNC trace events to NESTABLE

ASYNC* version is deprecated. No functional change should be visible in
trace.
Perf sheriffs: This might affect input latency metrics in telemetry.

Change-Id: I2fdadeb4ae8c72af28e39a35927cb995408ee995
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2625968
Auto-Submit: ssid <ssid@chromium.org>
Commit-Queue: Sadrul Chowdhury <sadrul@chromium.org>
Reviewed-by: default avatarSadrul Chowdhury <sadrul@chromium.org>
Cr-Commit-Position: refs/heads/master@{#844104}
parent bc351962
......@@ -275,9 +275,10 @@ void AsyncLayerTreeFrameSink::OnNeedsBeginFrames(bool needs_begin_frames) {
DCHECK(compositor_frame_sink_ptr_);
if (needs_begin_frames_ != needs_begin_frames) {
if (needs_begin_frames_) {
TRACE_EVENT_ASYNC_END0("cc,benchmark", "NeedsBeginFrames", this);
TRACE_EVENT_NESTABLE_ASYNC_END0("cc,benchmark", "NeedsBeginFrames", this);
} else {
TRACE_EVENT_ASYNC_BEGIN0("cc,benchmark", "NeedsBeginFrames", this);
TRACE_EVENT_NESTABLE_ASYNC_BEGIN0("cc,benchmark", "NeedsBeginFrames",
this);
}
}
needs_begin_frames_ = needs_begin_frames;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment