|
DevTools: Initial implementation of slow CPU emulation.
CPU throttling uses SIGUSR2 signal handler to pause the thread.
Current limitations are:
- throttles renderer thread only
- POSIX only supported.
BUG= 436111
Committed: https://crrev.com/b41f3cfb371039ad925a5e778e3addddd8d8b2b5
Cr-Commit-Position: refs/heads/master@{#364923}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+356 lines, -11 lines) |
Patch |
|
M |
content/browser/devtools/protocol/network_handler.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/content_renderer.gypi
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/devtools/devtools_agent.h
|
View
|
|
4 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/devtools/devtools_agent.cc
|
View
|
1
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
|
A |
content/renderer/devtools/devtools_cpu_throttler.h
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/devtools/devtools_cpu_throttler.cc
|
View
|
1
|
1 chunk |
+185 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/devtools/v8_sampling_profiler.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/devtools/front_end/main/Main.js
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js
|
View
|
1
|
4 chunks |
+84 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/devtools/protocol.json
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/web/InspectorEmulationAgent.h
|
View
|
|
3 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/web/InspectorEmulationAgent.cpp
|
View
|
|
2 chunks |
+9 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
|
View
|
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
|
View
|
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/public/web/WebDevToolsAgentClient.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 15 (6 generated)
|