OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |