| Index: mojo/public/c/tests/system/perftest_utils.h
|
| diff --git a/mojo/public/c/tests/system/perftest_utils.h b/mojo/public/c/tests/system/perftest_utils.h
|
| deleted file mode 100644
|
| index aba610f7324d35c2ddc96912ee7ff6dc984a3673..0000000000000000000000000000000000000000
|
| --- a/mojo/public/c/tests/system/perftest_utils.h
|
| +++ /dev/null
|
| @@ -1,30 +0,0 @@
|
| -// Copyright 2016 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef MOJO_PUBLIC_C_TESTS_SYSTEM_PERFTEST_UTILS_H_
|
| -#define MOJO_PUBLIC_C_TESTS_SYSTEM_PERFTEST_UTILS_H_
|
| -
|
| -#include <mojo/system/time.h>
|
| -
|
| -#include <functional>
|
| -
|
| -namespace mojo {
|
| -namespace test {
|
| -
|
| -// How long to run each perf test for (in microseconds).
|
| -constexpr MojoTimeTicks kPerftestTimeMicroseconds = 3 * 1000000;
|
| -
|
| -// Iterates the given function for |kPerftestTimeMicroseconds| and reports the
|
| -// number of iterations executed per second.
|
| -void IterateAndReportPerf(const char* test_name,
|
| - const char* sub_test_name,
|
| - std::function<void()> single_iteration);
|
| -
|
| -// Sleeps for the given amount of time (in microseconds).
|
| -void Sleep(MojoTimeTicks microseconds);
|
| -
|
| -} // namespace test
|
| -} // namespace mojo
|
| -
|
| -#endif // MOJO_PUBLIC_C_TESTS_SYSTEM_PERFTEST_UTILS_H_
|
|
|