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

Side by Side Diff: chrome/test/ui/ui_perf_test.h

Issue 7038052: Add initial framework for performance tests that measure frame rate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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
« no previous file with comments | « chrome/test/ui/javascript_test_util.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TEST_UI_UI_PERF_TEST_H_ 5 #ifndef CHROME_TEST_UI_UI_PERF_TEST_H_
6 #define CHROME_TEST_UI_UI_PERF_TEST_H_ 6 #define CHROME_TEST_UI_UI_PERF_TEST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 27 matching lines...) Expand all
38 // Like the above version of PrintResult(), but takes a std::string value 38 // Like the above version of PrintResult(), but takes a std::string value
39 // instead of a size_t. 39 // instead of a size_t.
40 void PrintResult(const std::string& measurement, 40 void PrintResult(const std::string& measurement,
41 const std::string& modifier, 41 const std::string& modifier,
42 const std::string& trace, 42 const std::string& trace,
43 const std::string& value, 43 const std::string& value,
44 const std::string& units, 44 const std::string& units,
45 bool important); 45 bool important);
46 46
47 // Like PrintResult(), but prints a (mean, standard deviation) result pair. 47 // Like PrintResult(), but prints a (mean, standard deviation) result pair.
48 // The |<values>| should be two comma-seaprated numbers, the mean and 48 // The |<values>| should be two comma-separated numbers, the mean and
49 // standard deviation (or other error metric) of the measurement. 49 // standard deviation (or other error metric) of the measurement.
50 void PrintResultMeanAndError(const std::string& measurement, 50 void PrintResultMeanAndError(const std::string& measurement,
51 const std::string& modifier, 51 const std::string& modifier,
52 const std::string& trace, 52 const std::string& trace,
53 const std::string& mean_and_error, 53 const std::string& mean_and_error,
54 const std::string& units, 54 const std::string& units,
55 bool important); 55 bool important);
56 56
57 // Like PrintResult(), but prints an entire list of results. The |values| 57 // Like PrintResult(), but prints an entire list of results. The |values|
58 // will generally be a list of comma-separated numbers. A typical 58 // will generally be a list of comma-separated numbers. A typical
(...skipping 26 matching lines...) Expand all
85 const std::string& modifier, 85 const std::string& modifier,
86 const std::string& trace, 86 const std::string& trace,
87 const std::string& values, 87 const std::string& values,
88 const std::string& prefix, 88 const std::string& prefix,
89 const std::string& suffix, 89 const std::string& suffix,
90 const std::string& units, 90 const std::string& units,
91 bool important); 91 bool important);
92 }; 92 };
93 93
94 #endif // CHROME_TEST_UI_UI_PERF_TEST_H_ 94 #endif // CHROME_TEST_UI_UI_PERF_TEST_H_
OLDNEW
« no previous file with comments | « chrome/test/ui/javascript_test_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698