src/Pure/Tools/build.scala
changeset 51564 bfdc3f720bd6
parent 51418 7b8ce8403340
child 51663 098f3cf6c809
equal deleted inserted replaced
51563:3f4ecbd9e5fa 51564:bfdc3f720bd6
   324       val graph = tree.graph
   324       val graph = tree.graph
   325       val sessions = graph.keys.toList
   325       val sessions = graph.keys.toList
   326 
   326 
   327       val timings =
   327       val timings =
   328         sessions.par.map((name: String) =>
   328         sessions.par.map((name: String) =>
   329           Exn.capture {
   329           Exn.capture { (name, load_timings(name)) }).toList.map(Exn.release(_))
   330             if (tree(name).options.bool("parallel_proofs_reuse_timing")) (name, load_timings(name))
       
   331             else (name, (Nil, 0.0))
       
   332           }).toList.map(Exn.release(_))
       
   333       val command_timings =
   330       val command_timings =
   334         Map(timings.map({ case (name, (ts, _)) => (name, ts) }): _*).withDefaultValue(Nil)
   331         Map(timings.map({ case (name, (ts, _)) => (name, ts) }): _*).withDefaultValue(Nil)
   335       val session_timing =
   332       val session_timing =
   336         Map(timings.map({ case (name, (_, t)) => (name, t) }): _*).withDefaultValue(0.0)
   333         Map(timings.map({ case (name, (_, t)) => (name, t) }): _*).withDefaultValue(0.0)
   337 
   334