removed pointless option "ML_statistics": always enabled;
authorwenzelm
Wed, 12 Aug 2020 11:26:01 +0200
changeset 72136 98dca728fc9c
parent 72135 f67e83608745
child 72137 ad277a335aa5
removed pointless option "ML_statistics": always enabled;
etc/options
src/Pure/ML/ml_statistics.scala
src/Pure/Tools/build.scala
src/Pure/Tools/dump.scala
--- a/etc/options	Wed Aug 12 11:22:11 2020 +0200
+++ b/etc/options	Wed Aug 12 11:26:01 2020 +0200
@@ -138,9 +138,6 @@
 public option ML_debugger : bool = false
   -- "ML debugger instrumentation for newly compiled code"
 
-public option ML_statistics : bool = true
-  -- "ML run-time system statistics"
-
 public option ML_system_64 : bool = false
   -- "ML system for 64bit platform is used if possible (change requires restart)"
 
--- a/src/Pure/ML/ml_statistics.scala	Wed Aug 12 11:22:11 2020 +0200
+++ b/src/Pure/ML/ml_statistics.scala	Wed Aug 12 11:26:01 2020 +0200
@@ -74,7 +74,7 @@
 
     private def consume(props: Properties.T): Unit = synchronized
     {
-      if (session != null && session.session_options.bool("ML_statistics")) {
+      if (session != null) {
         val stats = Session.Runtime_Statistics(session.xml_cache.props(props))
         session.runtime_statistics.post(stats)
       }
--- a/src/Pure/Tools/build.scala	Wed Aug 12 11:22:11 2020 +0200
+++ b/src/Pure/Tools/build.scala	Wed Aug 12 11:26:01 2020 +0200
@@ -493,7 +493,6 @@
   {
     val build_options =
       options +
-        "ML_statistics" +
         "completion_limit=0" +
         "editor_tracing_messages=0" +
         "pide_reports=false"
--- a/src/Pure/Tools/dump.scala	Wed Aug 12 11:22:11 2020 +0200
+++ b/src/Pure/Tools/dump.scala	Wed Aug 12 11:26:01 2020 +0200
@@ -106,7 +106,6 @@
         val options0 = if (NUMA.enabled) NUMA.policy_options(options) else options
         val options1 =
           options0 +
-            "ML_statistics=false" +
             "parallel_proofs=0" +
             "completion_limit=0" +
             "editor_tracing_messages=0" +