src/Pure/PIDE/session.scala
changeset 83198 7f46426e69ab
parent 82956 e5fa061b9570
child 83200 f93e95c4d3cf
equal deleted inserted replaced
83197:7a2bd0d12f18 83198:7f46426e69ab
   533       output match {
   533       output match {
   534         case msg: Prover.Protocol_Output =>
   534         case msg: Prover.Protocol_Output =>
   535           val handled = protocol_handlers.invoke(msg)
   535           val handled = protocol_handlers.invoke(msg)
   536           if (!handled) {
   536           if (!handled) {
   537             msg.properties match {
   537             msg.properties match {
   538               case Protocol.Command_Timing(props, state_id, timing) if prover.defined =>
   538               case Protocol.Command_Timing(state_id, props) if prover.defined =>
   539                 command_timings.post(Session.Command_Timing(props))
   539                 command_timings.post(Session.Command_Timing(props))
   540                 val message = XML.elem(Markup.STATUS, List(XML.Elem(Markup.Timing(timing), Nil)))
   540                 val markup = Markup(Markup.TIMING, props)
       
   541                 val message = XML.elem(Markup.STATUS, List(XML.Elem(markup, Nil)))
   541                 change_command(_.accumulate(state_id, cache.elem(message), cache))
   542                 change_command(_.accumulate(state_id, cache.elem(message), cache))
   542 
   543 
   543               case Markup.Theory_Timing(props) =>
   544               case Markup.Theory_Timing(props) =>
   544                 theory_timings.post(Session.Theory_Timing(props))
   545                 theory_timings.post(Session.Theory_Timing(props))
   545 
   546