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

Unified Diff: base/test/test_suite.cc

Issue 16896018: Enable high resolution time for TimeTicks::Now on Windows Canary (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix TrackedTime Created 7 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
Index: base/test/test_suite.cc
diff --git a/base/test/test_suite.cc b/base/test/test_suite.cc
index 27c00c94348236150683724d2924a4a7c6df6dda..d56061d21010119840c58ce49f4f69d2b6da72c0 100644
--- a/base/test/test_suite.cc
+++ b/base/test/test_suite.cc
@@ -96,6 +96,7 @@ void TestSuite::PreInitialize(int argc, char** argv,
bool create_at_exit_manager) {
#if defined(OS_WIN)
testing::GTEST_FLAG(catch_exceptions) = false;
+ base::TimeTicks::MaybeEnableHighResNowEverywhere();
#endif
base::EnableTerminationOnHeapCorruption();
initialized_command_line_ = CommandLine::Init(argc, argv);
« no previous file with comments | « base/profiler/tracked_time.cc ('k') | base/time/time.h » ('j') | base/time/time.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698