OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Functions for logging perf test results. |
| 6 |
| 7 #ifndef MOJO_EDK_SYSTEM_TEST_PERF_LOG_H_ |
| 8 #define MOJO_EDK_SYSTEM_TEST_PERF_LOG_H_ |
| 9 |
| 10 //#include "mojo/public/c/system/types.h" |
| 11 //#include "mojo/public/cpp/system/macros.h" |
| 12 |
| 13 namespace mojo { |
| 14 namespace system { |
| 15 namespace test { |
| 16 |
| 17 // TODO(vtl): Possibly should have our own "InitPerfLog()" and |
| 18 // "FinalizePerfLog()" functions, but we can't do that until we stop using |
| 19 // |base::PerfTestSuite()|. Currently, |
| 20 |
| 21 // Logs the result of a perf test. You may only call this while running inside a |
| 22 // perf test suite (using the :run_all_perftests from this directory). |
| 23 void LogPerfResult(const char* test_name, double value, const char* units); |
| 24 |
| 25 } // namespace test |
| 26 } // namespace system |
| 27 } // namespace mojo |
| 28 |
| 29 #endif // MOJO_EDK_SYSTEM_TEST_PERF_LOG_H_ |
OLD | NEW |