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

Side by Side Diff: chrome/browser/resources/tracing/linux_perf_importer_test.html

Issue 10170001: Find feature for tracing, at long last. (Closed) Base URL: git://localhost/home/nduca/Local/chrome/src@master
Patch Set: patch for landing Created 8 years, 8 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <!-- 3 <!--
4 Copyright (c) 2012 The Chromium Authors. All rights reserved. 4 Copyright (c) 2012 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be 5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file. 6 found in the LICENSE file.
7 --> 7 -->
8 <head> 8 <head>
9 <title>Perf Importer tests</title> 9 <title>LinuxPerfImporter tests</title>
10 <script src= 10 <script src=
11 "http://closure-library.googlecode.com/svn/trunk/closure/goog/base.js"> 11 "http://closure-library.googlecode.com/svn/trunk/closure/goog/base.js">
12 </script> 12 </script>
13 <script src="../shared/js/cr.js"></script> 13 <script src="../shared/js/cr.js"></script>
14 <script src="../shared/js/cr/event_target.js"></script> 14 <script src="../shared/js/cr/event_target.js"></script>
15 <script src="test_utils.js"></script> 15 <script src="test_utils.js"></script>
16 <script src="timeline_model.js"></script> 16 <script src="timeline_model.js"></script>
17 <script src="linux_perf_importer.js"></script> 17 <script src="linux_perf_importer.js"></script>
18 <script> 18 <script>
19 goog.require('goog.testing.jsunit'); 19 goog.require('goog.testing.jsunit');
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 343
344 assertAlmostEquals(2784.774864 * 1000.0, 344 assertAlmostEquals(2784.774864 * 1000.0,
345 m.processes['0'].threads['2'].subRows[0][0].start); 345 m.processes['0'].threads['2'].subRows[0][0].start);
346 assertAlmostEquals((2784.788644 - 2784.774864) * 1000.0, 346 assertAlmostEquals((2784.788644 - 2784.774864) * 1000.0,
347 m.processes['0'].threads['2'].subRows[0][0].duration); 347 m.processes['0'].threads['2'].subRows[0][0].duration);
348 } 348 }
349 349
350 </script> 350 </script>
351 </body> 351 </body>
352 </html> 352 </html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/tracing/kernel_trace_viewer.html ('k') | chrome/browser/resources/tracing/overlay.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698