author | wenzelm |
Fri, 27 Jan 2023 18:59:48 +0100 | |
changeset 77115 | 97a425ecf96d |
parent 77114 | 6608de52a3b5 |
child 77116 | 00d1db8e496e |
--- a/src/Pure/ML/ml_statistics.scala Fri Jan 27 17:33:49 2023 +0100 +++ b/src/Pure/ML/ml_statistics.scala Fri Jan 27 18:59:48 2023 +0100 @@ -116,8 +116,9 @@ def mem_scale(x: Long): Long = x / 1024 / 1024 def mem_field_scale(name: String, x: Double): Double = - if (heap_fields._2.contains(name) || program_fields._2.contains(name)) + if (heap_fields._2.contains(name) || program_fields._2.contains(name)) { mem_scale(x.toLong).toDouble + } else x val CODE_SIZE = "size_code"