Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: tools/telemetry/unittest_data/high_cpu.html

Issue 23717016: Add cpu_stats for the browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using /proc to get current CPU counters Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script>
5 function busy_loop() {
6 var start = Date.now();
7 while (Date.now() < start + 10);
8 }
9
10 setInterval(busy_loop, 15);
11 </script>
12 </head>
13 <body>
14 Your CPU is going craaazyyy
15 </body>
16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698