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

Unified Diff: mojo/public/c/tests/system/perftest_utils.h

Issue 2250183003: Make the fuchsia mojo/public repo the source of truth. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/c/tests/system/message_pipe_unittest.cc ('k') | mojo/public/c/tests/system/perftest_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « mojo/public/c/tests/system/message_pipe_unittest.cc ('k') | mojo/public/c/tests/system/perftest_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698