privatedef update_chart(): Unit = {
ML_Statistics.all_fields.find(_.title == data_name) match { case None => case Some(fields) => ML_Statistics(statistics.toList).update_data(data, fields.names)
}
}
privateval select_data = new GUI.Selector(ML_Statistics.all_fields.map(p => GUI.Selector.item(p._1))) {
tooltip = "Select visualized data collection" overridedef changed(): Unit = { data_name = selection.item.toString; update_chart() }
}
privateval limit_data = new TextField("200", 5) {
tooltip = "Limit for accumulated data"
verifier = { case Value.Int(x) => x > 0 case _ => false
}
reactions += { case ValueChanged(_) => input_delay.invoke() }
}
privateval reset_data = new GUI.Button("Reset") {
tooltip = "Reset accumulated data" overridedef clicked(): Unit = { clear_statistics(); update_chart() }
}
privateval full_gc = new GUI.Button("GC") {
tooltip = "Full garbage collection of ML heap" overridedef clicked(): Unit = PIDE.session.protocol_command("ML_Heap.full_gc")
}
privateval share_common_data = new GUI.Button("Sharing") {
tooltip = "Share common data of ML heap" overridedef clicked(): Unit = PIDE.session.protocol_command("ML_Heap.share_common_data")
}
privateval main =
Session.Consumer[Session.Runtime_Statistics](getClass.getName) {
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.)
update_delay.invoke()
}
overridedef exit(): Unit = {
java.lang.StringIndexOutOfBoundsException: Range [22, 4) out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Range [3, 4) out of bounds for length 3
}.=statistics(tatscase +1java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.