Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(882)

Unified Diff: gpu/command_buffer/service/gpu_scheduler.cc

Issue 10967034: Issue-141903: Rename "descheduled" trace event for gpu swap to something understandable (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed AUTHORS entry per trybot failure. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gpu_scheduler.cc
diff --git a/gpu/command_buffer/service/gpu_scheduler.cc b/gpu/command_buffer/service/gpu_scheduler.cc
index ccd84d351d233db9b1cca96bc32e8f61e563180a..c78ae719438511b4801078af55a89d4d2bc66bc1 100644
--- a/gpu/command_buffer/service/gpu_scheduler.cc
+++ b/gpu/command_buffer/service/gpu_scheduler.cc
@@ -129,7 +129,8 @@ void GpuScheduler::SetScheduled(bool scheduled) {
DCHECK_GE(unscheduled_count_, 0);
if (unscheduled_count_ == 0) {
- TRACE_EVENT_ASYNC_END1("gpu", "Descheduled", this, "GpuScheduler", this);
+ TRACE_EVENT_ASYNC_END1("gpu", "ProcessingSwap", this,
+ "GpuScheduler", this);
// When the scheduler transitions from the unscheduled to the scheduled
// state, cancel the task that would reschedule it after a timeout.
reschedule_task_factory_.InvalidateWeakPtrs();
@@ -139,7 +140,7 @@ void GpuScheduler::SetScheduled(bool scheduled) {
}
} else {
if (unscheduled_count_ == 0) {
- TRACE_EVENT_ASYNC_BEGIN1("gpu", "Descheduled", this,
+ TRACE_EVENT_ASYNC_BEGIN1("gpu", "ProcessingSwap", this,
"GpuScheduler", this);
#if defined(OS_WIN)
// When the scheduler transitions from scheduled to unscheduled, post a
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698