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

Unified Diff: content/common/gpu/gpu_memory_manager.cc

Issue 10915293: Simplify tracing of gpu memory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nitfix 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 | « no previous file | gpu/command_buffer/service/buffer_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_memory_manager.cc
diff --git a/content/common/gpu/gpu_memory_manager.cc b/content/common/gpu/gpu_memory_manager.cc
index 14848119d1ba9bc53239d62189c200f070edc103..8cbf10ce84717e232dd5a95e2b8e2769129a269e 100644
--- a/content/common/gpu/gpu_memory_manager.cc
+++ b/content/common/gpu/gpu_memory_manager.cc
@@ -149,10 +149,9 @@ void GpuMemoryManager::TrackMemoryAllocatedChange(size_t old_size,
}
}
if (new_size != old_size) {
- TRACE_COUNTER_ID1("GpuMemoryManager",
- "GpuMemoryUsage",
- this,
- bytes_allocated_current_);
+ TRACE_COUNTER1("gpu",
+ "GpuMemoryUsage",
+ bytes_allocated_current_);
}
}
« no previous file with comments | « no previous file | gpu/command_buffer/service/buffer_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698