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

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: Changed "Descheduled" to "ProcessingSwap", added authors entry. Created 8 years, 3 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 de83617309af26dc72ec1e2047b110a03695357d..188c03b83a1d468a1a45f8056c42497f0b7b65ff 100644
--- a/gpu/command_buffer/service/gpu_scheduler.cc
+++ b/gpu/command_buffer/service/gpu_scheduler.cc
@@ -124,7 +124,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);
nduca 2012/09/25 18:40:15 nit: indentation should match previous line
// 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();
@@ -134,7 +135,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