src/Tools/jEdit/src/timing_dockable.scala
changeset 59319 677615cba30d
parent 57612 990ffb84489b
child 59735 24bee1b11fce
equal deleted inserted replaced
59318:3ef6b0b6232e 59319:677615cba30d
   159         case Some(doc_view) => doc_view.model.node_name
   159         case Some(doc_view) => doc_view.model.node_name
   160       }
   160       }
   161     val timing = nodes_timing.getOrElse(name, Protocol.empty_node_timing)
   161     val timing = nodes_timing.getOrElse(name, Protocol.empty_node_timing)
   162 
   162 
   163     val theories =
   163     val theories =
   164       (for ((node_name, node_timing) <- nodes_timing.toList if !node_timing.commands.isEmpty)
   164       (for ((node_name, node_timing) <- nodes_timing.toList if node_timing.commands.nonEmpty)
   165         yield Theory_Entry(node_name, node_timing.total, false)).sorted(Entry.Ordering)
   165         yield Theory_Entry(node_name, node_timing.total, false)).sorted(Entry.Ordering)
   166     val commands =
   166     val commands =
   167       (for ((command, command_timing) <- timing.commands.toList)
   167       (for ((command, command_timing) <- timing.commands.toList)
   168         yield Command_Entry(command, command_timing)).sorted(Entry.Ordering)
   168         yield Command_Entry(command, command_timing)).sorted(Entry.Ordering)
   169 
   169