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

Unified Diff: mojo/public/tests/test_support.h

Issue 164693002: Mojo: Add a threaded perf test for (local) message pipes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: doh Created 6 years, 10 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/tests/system/core_perftest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/tests/test_support.h
diff --git a/mojo/public/tests/test_support.h b/mojo/public/tests/test_support.h
index 32a54c9646468eb557f51919ec9b60e411daa82f..e259456c2c8429e75155def9c4ed092305776e94 100644
--- a/mojo/public/tests/test_support.h
+++ b/mojo/public/tests/test_support.h
@@ -22,4 +22,18 @@ MOJO_TEST_SUPPORT_EXPORT void MojoTestSupportLogPerfResult(
} // extern "C"
#endif
+#ifdef __cplusplus
+namespace mojo {
+namespace test {
+
+inline void LogPerfResult(const char* test_name,
+ double value,
+ const char* units) {
+ MojoTestSupportLogPerfResult(test_name, value, units);
+}
+
+} // namespace test
+} // namespace mojo
+#endif // __cplusplus
+
#endif // MOJO_PUBLIC_TESTS_TEST_SUPPORT_H_
« no previous file with comments | « mojo/public/tests/system/core_perftest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698