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_)); |
} |