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

Unified Diff: src/sampler.cc

Issue 23271003: Support higher CPU profiler sampling rate on Windows (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased on the new Time implementation 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/sampler.cc
diff --git a/src/sampler.cc b/src/sampler.cc
index fa8c2e80ecd98b42d59642055f4bcbd63a44a57e..a2fd9f155c337bce48aa741e95a5e0433d576194 100644
--- a/src/sampler.cc
+++ b/src/sampler.cc
@@ -611,6 +611,8 @@ void Sampler::SampleStack(const RegisterState& state) {
bool Sampler::CanSampleOnProfilerEventsProcessorThread() {
#if defined(USE_SIGNALS)
return true;
+#elif defined(_WIN32) || defined(_WIN64) || defined(__CYGWIN__)
Benedikt Meurer 2013/08/27 14:02:43 You don't need to test for _WIN64, since _WIN32 is
yurys 2013/08/27 15:56:27 Done.
+ return true;
#else
return false;
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698