1
0
Fork 0

performance monitor: improve layout

also change default measurement interval to 1 second
This commit is contained in:
ThorstenB 2012-04-09 00:00:13 +02:00
parent ed5692f411
commit 1867df11ce
2 changed files with 10 additions and 16 deletions

View file

@ -12,16 +12,16 @@ var dialog = {
# "private"
var font = { name: "FIXED_8x13" };
me.header = [" submodule", "cumulative/ms", "total/ms", "min/ms", "max/ms", "mean/ms", "stddev/ms", "iterations" ];
me.header = [" submodule", "cumulative/ms", "total/ms", "max/ms", "min/ms", "mean/ms", "stddev/ms", "iterations" ];
me.columns = [
{ type: "text", property: "name", format: " %s", label: "------------------", halign: "fill", font: font },
{ type: "text", property: "cumulative-ms", format:" %8.2f", label: "------------", halign: "fill", font: font },
{ type: "text", property: "total-ms", format:" %8.2f", label: "------------", halign: "fill", font: font },
{ type: "text", property: "min-ms", format: "%5.2f", label: "---------", halign: "fill", font: font },
{ type: "text", property: "name", format: " %s", label: "------------------", halign: "fill", font: font },
{ type: "text", property: "cumulative-ms", format: "%9.2f", label: "-------------", halign: "fill", font: font },
{ type: "text", property: "total-ms", format: "%6.2f", label: "----------", halign: "fill", font: font },
{ type: "text", property: "max-ms", format: "%5.2f", label: "---------", halign: "fill", font: font },
{ type: "text", property: "mean-ms", format:" %5.2f", label: "---------", halign: "fill", font: font },
{ type: "text", property: "stddev-ms", format:" %5.2f", label: "---------", halign: "fill", font: font },
{ type: "text", property: "count", format:" %3d", label: "------", halign: "fill", font: font },
{ type: "text", property: "min-ms", format: "%5.2f", label: "---------", halign: "fill", font: font },
{ type: "text", property: "mean-ms", format: "%5.2f", label: "---------", halign: "fill", font: font },
{ type: "text", property: "stddev-ms", format: "%5.2f", label: "---------", halign: "fill", font: font },
{ type: "text", property: "count", format: "%3d", label: "------", halign: "fill", font: font },
];
me.name = "performance-monitor";
me.dialog = nil;

View file

@ -766,14 +766,8 @@ Started September 2000 by David Megginson, david@megginson.com
</user>
<performance-monitor>
<enabled type="bool"
archive="n">false</enabled>
<interval-s type="double"
archive="n">4.0</interval-s>
<min-jitter-ms type="double"
archive="n">0.0</min-jitter-ms>
<min-time-ms type="double"
archive="n">100.0</min-time-ms>
<enabled type="bool" userarchive="n" preserve="y">false</enabled>
<interval-s type="double" userarchive="n" preserve="y">1.0</interval-s>
</performance-monitor>
<!-- animated jetway options -->