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

Unified Diff: Source/platform/heap/RunAllTests.cpp

Issue 260723003: [oilpan]: Make parking threads for GC timeout in the case parking exceeds 100 MS (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add safepoint scopes around yield Created 6 years, 7 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 | « Source/platform/heap/HeapTest.cpp ('k') | Source/platform/heap/ThreadState.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/RunAllTests.cpp
diff --git a/Source/platform/heap/RunAllTests.cpp b/Source/platform/heap/RunAllTests.cpp
index bd8fb5689ad2a4ffa15774840db823c03a1c54ac..3b147abf30bd6954c57e5bbc15b6f068a707fc07 100644
--- a/Source/platform/heap/RunAllTests.cpp
+++ b/Source/platform/heap/RunAllTests.cpp
@@ -36,11 +36,12 @@
#include "wtf/MainThread.h"
#include "wtf/WTF.h"
#include <base/test/test_suite.h>
+#include <base/time/time.h>
#include <string.h>
static double CurrentTime()
{
- return 0.0;
+ return base::Time::Now().ToDoubleT();
}
static void AlwaysZeroNumberSource(unsigned char* buf, size_t len)
« no previous file with comments | « Source/platform/heap/HeapTest.cpp ('k') | Source/platform/heap/ThreadState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698