|
cc: Plumbing for impl thread micro benchmarks
This patch adds plumbing for running micro benchmarks on the impl
thread. The concept is as follows:
- Create a main thread benchmark via gpu benchmarking extension
- On commit complete, if the benchmark provides an impl thread
benchmark, it is created and scheduled to be run on the impl thread
- Impl thread benchmarks are run after an appropriate callback
- Impl thread benchmarks post a done callback (with results) that is
run on the main thread
- The main thread benchmark gets the callback and posts its own done
callback (with aggregated results)
- This gets back to the gpu benchmarking extension which sends the
response back to the caller
R=enne@chromium.org, nduca@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235585
Total comments: 10
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+448 lines, -23 lines) |
Patch |
 |
M |
cc/cc.gyp
|
View
|
1
2
3
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/debug/micro_benchmark.h
|
View
|
1
2
3
4
|
3 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/debug/micro_benchmark.cc
|
View
|
1
2
|
2 chunks |
+22 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/debug/micro_benchmark_controller.h
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/debug/micro_benchmark_controller.cc
|
View
|
1
2
|
3 chunks |
+22 lines, -3 lines |
0 comments
|
Download
|
 |
A |
cc/debug/micro_benchmark_controller_impl.h
|
View
|
1
2
3
4
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
A |
cc/debug/micro_benchmark_controller_impl.cc
|
View
|
|
1 chunk |
+59 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/debug/micro_benchmark_controller_unittest.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+40 lines, -3 lines |
0 comments
|
Download
|
 |
A |
cc/debug/micro_benchmark_impl.h
|
View
|
1
2
3
4
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
 |
A |
cc/debug/micro_benchmark_impl.cc
|
View
|
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/debug/picture_record_benchmark.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/debug/unittest_only_benchmark.h
|
View
|
1
2
3
4
|
1 chunk |
+14 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/debug/unittest_only_benchmark.cc
|
View
|
1
2
3
|
1 chunk |
+38 lines, -3 lines |
0 comments
|
Download
|
 |
A |
cc/debug/unittest_only_benchmark_impl.h
|
View
|
1
2
3
4
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A |
cc/debug/unittest_only_benchmark_impl.cc
|
View
|
1
2
3
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_impl.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_impl.cc
|
View
|
1
2
3
|
3 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer_impl.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer_impl.cc
|
View
|
1
2
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_layer_tree_host.h
|
View
|
1
2
3
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl.h
|
View
|
|
3 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl.cc
|
View
|
1
2
3
4
|
3 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
Total messages: 21 (0 generated)
|