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

Unified Diff: mojo/edk/system/ref_counted_perftest.cc

Issue 1430593005: EDK: Remove (direct) dependencies of //mojo/edk/system on //base/test. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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/edk/system/message_pipe_perftest.cc ('k') | mojo/edk/system/run_all_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/ref_counted_perftest.cc
diff --git a/mojo/edk/system/ref_counted_perftest.cc b/mojo/edk/system/ref_counted_perftest.cc
index b88e5cd57372cc30e668fac04675b9ba616dcb4e..c7100fe3a4d58f4ddee08e84e5c936f0a6aa94ce 100644
--- a/mojo/edk/system/ref_counted_perftest.cc
+++ b/mojo/edk/system/ref_counted_perftest.cc
@@ -4,8 +4,8 @@
#include <stdint.h>
-#include "base/test/perf_log.h"
#include "mojo/edk/system/ref_counted.h"
+#include "mojo/edk/system/test/perf_log.h"
#include "mojo/edk/system/test/stopwatch.h"
#include "mojo/edk/system/test/timeouts.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -40,7 +40,7 @@ TEST(RefCountedPerfTest, OneThreadCreateAdoptDestroy) {
} while (stopwatch.Elapsed() < test::DeadlineFromMilliseconds(1000));
double elapsed = stopwatch.Elapsed() / 1000000.0;
- base::LogPerfResult("OneThreadCreateAdoptDestroy", iterations / elapsed,
+ test::LogPerfResult("OneThreadCreateAdoptDestroy", iterations / elapsed,
"iterations/s");
}
@@ -57,7 +57,7 @@ TEST(RefCountedPerfTest, OneThreadAssignRefPtr) {
} while (stopwatch.Elapsed() < test::DeadlineFromMilliseconds(1000));
double elapsed = stopwatch.Elapsed() / 1000000.0;
- base::LogPerfResult("OneThreadAssignRefPtr", iterations / elapsed,
+ test::LogPerfResult("OneThreadAssignRefPtr", iterations / elapsed,
"iterations/s");
}
« no previous file with comments | « mojo/edk/system/message_pipe_perftest.cc ('k') | mojo/edk/system/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698