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

Unified Diff: chrome/gpu/gpu_command_buffer_stub.cc

Issue 6551019: Trace_event upgrades (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More gooder js thanks to arv. Created 9 years, 10 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
Index: chrome/gpu/gpu_command_buffer_stub.cc
diff --git a/chrome/gpu/gpu_command_buffer_stub.cc b/chrome/gpu/gpu_command_buffer_stub.cc
index 3a832441cb694337590f3f32dad65c5dcd49dee8..4c7d41e277c237bc85c0332e12d88005d0b1340b 100644
--- a/chrome/gpu/gpu_command_buffer_stub.cc
+++ b/chrome/gpu/gpu_command_buffer_stub.cc
@@ -4,6 +4,7 @@
#if defined(ENABLE_GPU)
+#include "base/debug/trace_event.h"
#include "base/process_util.h"
#include "base/shared_memory.h"
#include "build/build_config.h"
@@ -315,6 +316,7 @@ void GpuCommandBufferStub::OnResizeOffscreenFrameBuffer(const gfx::Size& size) {
}
void GpuCommandBufferStub::OnSwapBuffers() {
+ TRACE_EVENT_INSTANT0("GPU_INFO", "GpuCommandBufferStub::OnSwapBuffers");
Send(new GpuCommandBufferMsg_SwapBuffers(route_id_));
}

Powered by Google App Engine
This is Rietveld 408576698