src/Pure/Admin/build_log.scala
changeset 65052 7f825cc6debf
parent 64341 45b6faeee56d
child 65276 fa1a5efee2ec
--- a/src/Pure/Admin/build_log.scala	Sun Feb 26 22:01:14 2017 +0100
+++ b/src/Pure/Admin/build_log.scala	Sun Feb 26 22:01:54 2017 +0100
@@ -420,6 +420,8 @@
     def finished(name: String): Boolean = get_default(name, _.finished, false)
     def timing(name: String): Timing = get_default(name, _.timing, Timing.zero)
     def ml_timing(name: String): Timing = get_default(name, _.ml_timing, Timing.zero)
+    def ml_statistics(name: String): ML_Statistics =
+      get_default(name, entry => ML_Statistics(name, entry.ml_statistics), ML_Statistics.empty)
   }
 
   private def parse_build_info(log_file: Log_File): Build_Info =