Revision: 10116
Author:   [email protected]
Date:     Thu Dec  1 01:15:29 2011
Log: Merge r10103 to the 3.5 branch. This increases the tick interval on android.
Review URL: http://codereview.chromium.org/8757018
http://code.google.com/p/v8/source/detail?r=10116

Modified:
 /branches/3.5/src/log.h
 /branches/3.5/src/version.cc

=======================================
--- /branches/3.5/src/log.h     Wed Jul 13 06:23:34 2011
+++ /branches/3.5/src/log.h     Thu Dec  1 01:15:29 2011
@@ -292,7 +292,13 @@
INLINE(static LogEventsAndTags ToNativeByScript(LogEventsAndTags, Script*));

   // Profiler's sampling interval (in milliseconds).
+#if defined(ANDROID)
+  // Phones and tablets have processors that are much slower than desktop
+  // and laptop computers for which current heuristics are tuned.
+  static const int kSamplingIntervalMs = 5;
+#else
   static const int kSamplingIntervalMs = 1;
+#endif

   // Callback from Log, stops profiling in case of insufficient resources.
   void LogFailure();
=======================================
--- /branches/3.5/src/version.cc        Tue Nov  8 07:14:43 2011
+++ /branches/3.5/src/version.cc        Thu Dec  1 01:15:29 2011
@@ -35,7 +35,7 @@
 #define MAJOR_VERSION     3
 #define MINOR_VERSION     5
 #define BUILD_NUMBER      10
-#define PATCH_LEVEL       24
+#define PATCH_LEVEL       25
 // Use 1 for candidates and 0 otherwise.
 // (Boolean macro values are not supported by all preprocessors.)
 #define IS_CANDIDATE_VERSION 0

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to