OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "chrome/test/perf/perf_test.h" | 5 #include "chrome/test/perf/perf_test.h" |
6 | 6 |
7 #include <stdio.h> | 7 #include <stdio.h> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/stringprintf.h" | |
11 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
| 11 #include "base/strings/stringprintf.h" |
12 #include "chrome/test/base/chrome_process_util.h" | 12 #include "chrome/test/base/chrome_process_util.h" |
13 | 13 |
14 namespace { | 14 namespace { |
15 | 15 |
16 std::string ResultsToString(const std::string& measurement, | 16 std::string ResultsToString(const std::string& measurement, |
17 const std::string& modifier, | 17 const std::string& modifier, |
18 const std::string& trace, | 18 const std::string& trace, |
19 const std::string& values, | 19 const std::string& values, |
20 const std::string& prefix, | 20 const std::string& prefix, |
21 const std::string& suffix, | 21 const std::string& suffix, |
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 "commit_charge", | 574 "commit_charge", |
575 std::string(), | 575 std::string(), |
576 "cc" + trace_name, | 576 "cc" + trace_name, |
577 charge, | 577 charge, |
578 "kb", | 578 "kb", |
579 important); | 579 important); |
580 return output; | 580 return output; |
581 } | 581 } |
582 | 582 |
583 } // namespace perf_test | 583 } // namespace perf_test |
OLD | NEW |