|
Added trace query code and wired tracing through BrowserProxy so tests can run traces.
This change:
- adds classes trace::Query and TraceAnalyzer to make it easy to search through trace data for specific events.
- adds Begin/EndTracing to BrowserProxy.
- adds "did it run on GPU" check to frame_rate_tests.cc using above features.
BUG= 95714
TEST=base_unittests
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1227 lines, -3 lines) |
Patch |
 |
M |
base/base.gypi
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/debug/trace_event.h
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+65 lines, -1 line |
0 comments
|
Download
|
 |
M |
base/debug/trace_event.cc
|
View
|
1
2
3
4
|
3 chunks |
+136 lines, -0 lines |
0 comments
|
Download
|
 |
A |
base/debug/trace_event_test_utils.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+228 lines, -0 lines |
0 comments
|
Download
|
 |
A |
base/debug/trace_event_test_utils.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+493 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/debug/trace_event_unittest.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+105 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/automation/testing_automation_provider.h
|
View
|
|
7 chunks |
+22 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/automation/testing_automation_provider.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+71 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/automation_messages_internal.h
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/automation/browser_proxy.h
|
View
|
1
2
3
4
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/automation/browser_proxy.cc
|
View
|
1
2
3
4
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/perf/frame_rate/frame_rate_tests.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+31 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_widget.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|