|
This CL covers a targeted set of upgrades to the trace_event system in order to improve our perf monitoring capabilities for GPU.
1. Add parameters to trace events, instead of just an ID paramter.
2. Add categories to trace events.
3. Make output of trace data driven by an output callback rather than hard-wired to a file/ETW. Allows WebUI to be written that hooks traced data for analysis/display.
4. Forward trace data from render and gpu processes up to the browser process.
We tried to preserve the old output-to-ETW behavior and the implicit "id" parameter. This is embodied in the TRACE_*_LEGACY macros.
Total comments: 26
Total comments: 42
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1027 lines, -306 lines) |
Patch |
 |
M |
base/debug/trace_event.h
|
View
|
|
2 chunks |
+244 lines, -102 lines |
20 comments
|
Download
|
 |
M |
base/debug/trace_event.cc
|
View
|
|
2 chunks |
+184 lines, -116 lines |
2 comments
|
Download
|
 |
M |
base/debug/trace_event_win.h
|
View
|
|
7 chunks |
+10 lines, -36 lines |
0 comments
|
Download
|
 |
M |
base/debug/trace_event_win.cc
|
View
|
|
5 chunks |
+16 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/app/client_util.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/automation/automation_provider.cc
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/automation/automation_provider_win.cc
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_main.cc
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/external_tab_container_win.cc
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gpu_process_host_ui_shim.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gpu_process_host_ui_shim.cc
|
View
|
|
3 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/render_message_filter.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
1 comment
|
Download
|
 |
M |
chrome/browser/renderer_host/render_message_filter.cc
|
View
|
|
3 chunks |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/render_process_host.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/render_process_host.cc
|
View
|
1
|
3 chunks |
+17 lines, -0 lines |
1 comment
|
Download
|
 |
M |
chrome/browser/resources/gpu_internals.html
|
View
|
1
|
2 chunks |
+14 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/gpu_internals/browser_bridge.js
|
View
|
1
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/gpu_internals/info_view.html
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/gpu_internals/info_view.js
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
2 comments
|
Download
|
 |
A |
chrome/browser/resources/gpu_internals/raw_events_view.css
|
View
|
1
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/resources/gpu_internals/raw_events_view.html
|
View
|
1
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/resources/gpu_internals/raw_events_view.js
|
View
|
1
|
1 chunk |
+73 lines, -0 lines |
5 comments
|
Download
|
 |
A |
chrome/browser/resources/gpu_internals/tracing_controller.css
|
View
|
1
|
1 chunk |
+33 lines, -0 lines |
2 comments
|
Download
|
 |
A |
chrome/browser/resources/gpu_internals/tracing_controller.html
|
View
|
1
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/resources/gpu_internals/tracing_controller.js
|
View
|
1
|
1 chunk |
+123 lines, -0 lines |
6 comments
|
Download
|
 |
M |
chrome/browser/webui/gpu_internals_ui.cc
|
View
|
1
|
6 chunks |
+101 lines, -2 lines |
1 comment
|
Download
|
 |
M |
chrome/common/gpu_messages_internal.h
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/render_messages_internal.h
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/sandbox_policy.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/gpu/gpu_command_buffer_stub.cc
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/gpu/gpu_thread.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/gpu/gpu_thread.cc
|
View
|
1
|
8 chunks |
+33 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/render_thread.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/render_thread.cc
|
View
|
1
|
5 chunks |
+24 lines, -2 lines |
2 comments
|
Download
|
 |
M |
chrome/renderer/render_widget.cc
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/renderer_main.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gpu_processor.cc
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/webkitclient_impl.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 25 (0 generated)
|