SH-3931 WIP Interesting: Add graphs to visualize scene load metrics

cleaned up xml file
meow-7.2.2
Richard Linden 2013-03-18 16:19:21 -07:00
parent 8de397b19e
commit df6dfc4d1d
1 changed files with 435 additions and 544 deletions

View File

@ -1,549 +1,440 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
legacy_header_height="18"
can_resize="true"
height="400"
layout="topleft"
name="Scene Load Statistics"
save_rect="true"
save_visibility="true"
title="SCENE LOAD STATISTICS"
width="260">
<scroll_container
follows="top|left|bottom|right"
height="380"
layout="topleft"
left="0"
name="statistics_scroll"
reserve_scroll_corner="true"
top="20"
width="260">
<container_view
follows="top|left|bottom|right"
height="378"
layout="topleft"
left="2"
name="statistics_view"
top="20"
width="245" >
<!--Basic Section-->
<stat_view
name="basic"
label="Basic"
show_label="true"
setting="OpenDebugStatBasic">
<stat_bar
name="bandwidth"
label="Bandwidth"
unit_label="kbps"
orientation="horizontal"
stat="kbitstat"
bar_max="5000"
tick_spacing="500"
label_spacing="1000"
precision="0"
show_bar="true"
show_history="false">
</stat_bar>
<stat_bar
name="packet_loss"
label="Packet Loss"
unit_label=" %"
stat="packetslostpercentstat"
bar_max="5"
tick_spacing="0.5"
label_spacing="1"
precision="3"
show_bar="false"
show_mean="true">
</stat_bar>
<floater legacy_header_height="18"
can_resize="true"
height="400"
layout="topleft"
name="Scene Load Statistics"
save_rect="true"
save_visibility="true"
title="SCENE LOAD STATISTICS"
width="260">
<button top="20"
bottom="60"
left="10"
width="100"
label="Pause"
name="playpause"/>
<scroll_container follows="top|left|bottom|right"
height="380"
layout="topleft"
left="0"
name="statistics_scroll"
reserve_scroll_corner="true"
top="60"
width="260">
<container_view follows="top|left|bottom|right"
height="378"
layout="topleft"
left="2"
name="statistics_view"
top="20"
width="245" >
<!--Basic Section-->
<stat_view name="basic"
label="Basic"
show_label="true"
setting="OpenDebugStatBasic">
<stat_bar name="bandwidth"
label="Bandwidth"
unit_label="kbps"
orientation="horizontal"
stat="kbitstat"
bar_max="5000"
tick_spacing="500"
label_spacing="1000"
precision="0"
show_bar="true"
show_history="false"/>
<stat_bar name="packet_loss"
label="Packet Loss"
unit_label=" %"
stat="packetslostpercentstat"
bar_max="5"
tick_spacing="0.5"
label_spacing="1"
precision="3"
show_bar="false"
show_mean="true"/>
</stat_view>
<!--Advanced Section-->
<stat_view
name="advanced"
label="Advanced"
show_label="true"
setting="OpenDebugStatAdvanced">
<stat_view
name="render"
label="Render"
show_label="true"
setting="OpenDebugStatRender">
<stat_bar
name="objs"
label="Total Objects"
unit_label=""
stat="numobjectsstat"
bar_max="50000"
tick_spacing="5000"
label_spacing="10000"
precision="0"
show_bar="false">
</stat_bar>
<stat_bar
name="newobjs"
label="New Objects"
unit_label="/sec"
stat="numnewobjectsstat"
bar_max="2000"
tick_spacing="200"
label_spacing="400"
show_bar="false">
</stat_bar>
<stat_bar
name="object_cache_hits"
label="Object Cache Hit Rate"
stat="object_cache_hits"
bar_max="100"
unit_label="%"
tick_spacing="20"
label_spacing="20"
show_history="true"
show_bar="false">
</stat_bar>
</stat_view>
<!--Texture Stats-->
<stat_view
name="texture"
label="Texture"
show_label="true">
<stat_bar
name="texture_cache_hits"
label="Cache Hit Rate"
stat="texture_cache_hits"
bar_max="100.f"
unit_label="%"
tick_spacing="20"
label_spacing="20"
show_history="true"
show_bar="false">
</stat_bar>
<stat_bar
name="texture_cache_read_latency"
label="Cache Read Latency"
unit_label="msec"
stat="texture_cache_read_latency"
bar_max="1000.f"
tick_spacing="100"
label_spacing="200"
show_history="true"
show_bar="false">
</stat_bar>
<stat_bar
name="numimagesstat"
label="Count"
stat="numimagesstat"
bar_max="8000.f"
tick_spacing="2000.f"
label_spacing="4000.f"
show_bar="false">
</stat_bar>
<stat_bar
name="numrawimagesstat"
label="Raw Count"
stat="numrawimagesstat"
bar_max="8000.f"
tick_spacing="2000.f"
label_spacing="4000.f"
show_bar="false">
</stat_bar>
</stat_view>
<!--Network Stats-->
<stat_view
name="network"
label="Network"
show_label="true"
setting="OpenDebugStatNet">
<stat_bar
name="packetsinstat"
label="Packets In"
stat="packetsinstat"
unit_label="/sec"
bar_max="1024.f"
tick_spacing="128.f"
label_spacing="256.f"
precision="1"
show_bar="false">
</stat_bar>
<stat_bar
name="packetsoutstat"
label="Packets Out"
stat="packetsoutstat"
unit_label="/sec"
bar_max="1024.f"
tick_spacing="128.f"
label_spacing="256.f"
precision="1"
show_bar="false" >
</stat_bar>
<stat_bar
name="objectkbitstat"
label="Objects"
stat="objectkbitstat"
unit_label="kbps"
bar_max="1024.f"
tick_spacing="128.f"
label_spacing="256.f"
precision="1"
show_bar="false" >
</stat_bar>
<stat_bar
name="texturekbitstat"
label="Texture"
stat="texturekbitstat"
unit_label="kbps"
bar_max="1024.f"
tick_spacing="128.f"
label_spacing="256.f"
precision="1"
show_bar="false" >
</stat_bar>
<stat_bar
name="assetkbitstat"
label="Asset"
stat="assetkbitstat"
unit_label="kbps"
bar_max="1024.f"
tick_spacing="128.f"
label_spacing="256.f"
precision="1"
show_bar="false" >
</stat_bar>
<stat_bar
name="layerskbitstat"
label="Layers"
stat="layerskbitstat"
unit_label="kbps"
bar_max="1024.f"
tick_spacing="128.f"
label_spacing="256.f"
precision="1"
show_bar="false" >
</stat_bar>
<stat_bar
name="actualinkbitstat"
label="Actual In"
stat="actualinkbitstat"
unit_label="kbps"
bar_max="1024.f"
tick_spacing="128.f"
label_spacing="256.f"
precision="1"
show_bar="false"
show_history="false" >
</stat_bar>
<stat_bar
name="actualoutkbitstat"
label="Actual Out"
stat="actualoutkbitstat"
unit_label="kbps"
bar_max="1024.f"
tick_spacing="128.f"
label_spacing="256.f"
precision="1"
show_bar="false"
show_history="false">
</stat_bar>
<stat_bar
name="vfspendingoperations"
label="VFS Pending Operations"
stat="vfspendingoperations"
unit_label=" Ops."
show_bar="false" >
</stat_bar>
</stat_view>
<!--Advanced Section-->
<stat_view name="advanced"
label="Advanced"
show_label="true"
setting="OpenDebugStatAdvanced">
<stat_view name="render"
label="Render"
show_label="true"
setting="OpenDebugStatRender">
<stat_bar name="objs"
label="Total Objects"
unit_label=""
stat="numobjectsstat"
bar_max="50000"
tick_spacing="5000"
label_spacing="10000"
precision="0"
show_bar="false"/>
<stat_bar name="newobjs"
label="New Objects"
unit_label="/sec"
stat="numnewobjectsstat"
bar_max="2000"
tick_spacing="200"
label_spacing="400"
show_bar="false"/>
<stat_bar name="object_cache_hits"
label="Object Cache Hit Rate"
stat="object_cache_hits"
bar_max="100"
unit_label="%"
tick_spacing="20"
label_spacing="20"
show_history="true"
show_bar="false"/>
</stat_view>
<!--Texture Stats-->
<stat_view name="texture"
label="Texture"
show_label="true">
<stat_bar name="texture_cache_hits"
label="Cache Hit Rate"
stat="texture_cache_hits"
bar_max="100.f"
unit_label="%"
tick_spacing="20"
label_spacing="20"
show_history="true"
show_bar="false"/>
<stat_bar name="texture_cache_read_latency"
label="Cache Read Latency"
unit_label="msec"
stat="texture_cache_read_latency"
bar_max="1000.f"
tick_spacing="100"
label_spacing="200"
show_history="true"
show_bar="false"/>
<stat_bar name="numimagesstat"
label="Count"
stat="numimagesstat"
bar_max="8000.f"
tick_spacing="2000.f"
label_spacing="4000.f"
show_bar="false"/>
<stat_bar name="numrawimagesstat"
label="Raw Count"
stat="numrawimagesstat"
bar_max="8000.f"
tick_spacing="2000.f"
label_spacing="4000.f"
show_bar="false"/>
</stat_view>
<!--Network Stats-->
<stat_view name="network"
label="Network"
show_label="true"
setting="OpenDebugStatNet">
<stat_bar name="packetsinstat"
label="Packets In"
stat="packetsinstat"
unit_label="/sec"
bar_max="1024.f"
tick_spacing="128.f"
label_spacing="256.f"
precision="1"
show_bar="false"/>
<stat_bar name="packetsoutstat"
label="Packets Out"
stat="packetsoutstat"
unit_label="/sec"
bar_max="1024.f"
tick_spacing="128.f"
label_spacing="256.f"
precision="1"
show_bar="false"/>
<stat_bar name="objectkbitstat"
label="Objects"
stat="objectkbitstat"
unit_label="kbps"
bar_max="1024.f"
tick_spacing="128.f"
label_spacing="256.f"
precision="1"
show_bar="false"/>
<stat_bar name="texturekbitstat"
label="Texture"
stat="texturekbitstat"
unit_label="kbps"
bar_max="1024.f"
tick_spacing="128.f"
label_spacing="256.f"
precision="1"
show_bar="false"/>
<stat_bar name="assetkbitstat"
label="Asset"
stat="assetkbitstat"
unit_label="kbps"
bar_max="1024.f"
tick_spacing="128.f"
label_spacing="256.f"
precision="1"
show_bar="false"/>
<stat_bar name="layerskbitstat"
label="Layers"
stat="layerskbitstat"
unit_label="kbps"
bar_max="1024.f"
tick_spacing="128.f"
label_spacing="256.f"
precision="1"
show_bar="false"/>
<stat_bar name="actualinkbitstat"
label="Actual In"
stat="actualinkbitstat"
unit_label="kbps"
bar_max="1024.f"
tick_spacing="128.f"
label_spacing="256.f"
precision="1"
show_bar="false"
show_history="false"/>
<stat_bar name="actualoutkbitstat"
label="Actual Out"
stat="actualoutkbitstat"
unit_label="kbps"
bar_max="1024.f"
tick_spacing="128.f"
label_spacing="256.f"
precision="1"
show_bar="false"
show_history="false"/>
<stat_bar name="vfspendingoperations"
label="VFS Pending Operations"
stat="vfspendingoperations"
unit_label=" Ops."
show_bar="false"/>
</stat_view>
</stat_view>
<!--Sim Stats-->
<stat_view
name="sim"
label="Simulator"
show_label="true"
setting="OpenDebugStatSim">
<stat_bar
name="simobjects"
label="Objects"
stat="simobjects"
precision="0"
bar_max="30000.f"
tick_spacing="5000.f"
label_spacing="10000.f"
show_bar="false"
show_mean="false" >
</stat_bar>
<stat_bar
name="simactiveobjects"
label="Active Objects"
stat="simactiveobjects"
precision="0"
bar_max="5000.f"
tick_spacing="750.f"
label_spacing="1250.f"
show_bar="false"
show_mean="false" >
</stat_bar>
<stat_bar
name="simactivescripts"
label="Active Scripts"
stat="simactivescripts"
precision="0"
bar_max="15000.f"
tick_spacing="1875.f"
label_spacing="3750.f"
show_bar="false"
show_mean="false" >
</stat_bar>
<stat_bar
name="siminpps"
label="Packets In"
stat="siminpps"
unit_label="pps"
precision="0"
bar_max="2000.f"
tick_spacing="250.f"
label_spacing="1000.f"
show_bar="false"
show_mean="false" >
</stat_bar>
<stat_bar
name="simoutpps"
label="Packets Out"
stat="simoutpps"
unit_label="pps"
precision="0"
bar_max="2000.f"
tick_spacing="250.f"
label_spacing="1000.f"
show_bar="false"
show_mean="false" >
</stat_bar>
<stat_bar
name="simpendingdownloads"
label="Pending Downloads"
stat="simpendingdownloads"
precision="0"
bar_max="800.f"
tick_spacing="100.f"
label_spacing="200.f"
show_bar="false"
show_mean="false" >
</stat_bar>
<stat_bar
name="simpendinguploads"
label="Pending Uploads"
stat="simpendinguploads"
precision="0"
bar_max="100.f"
tick_spacing="25.f"
label_spacing="50.f"
show_bar="false"
show_mean="false" >
</stat_bar>
<stat_bar
name="simtotalunackedbytes"
label="Total Unacked Bytes"
stat="simtotalunackedbytes"
unit_label="kb"
precision="1"
bar_max="100000.f"
tick_spacing="25000.f"
label_spacing="50000.f"
show_bar="false"
show_mean="false" >
</stat_bar>
<stat_view
name="simperf"
label="Time (ms)"
show_label="true">
<stat_bar
name="simframemsec"
label="Total Frame Time"
stat="simframemsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false" >
</stat_bar>
<stat_bar
name="simnetmsec"
label="Net Time"
stat="simnetmsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false" >
</stat_bar>
<stat_bar
name="simsimphysicsmsec"
label="Physics Time"
stat="simsimphysicsmsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false" >
</stat_bar>
<stat_bar
name="simsimothermsec"
label="Simulation Time"
stat="simsimothermsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false" >
</stat_bar>
<stat_bar
name="simagentmsec"
label="Agent Time"
stat="simagentmsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false" >
</stat_bar>
<stat_bar
name="simimagesmsec"
label="Images Time"
stat="simimagesmsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false" >
</stat_bar>
<stat_bar
name="simscriptmsec"
label="Script Time"
stat="simscriptmsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false" >
</stat_bar>
<stat_bar
name="simsparemsec"
label="Spare Time"
stat="simsparemsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false" >
</stat_bar>
<!--2nd level time blocks under 'Details' second-->
<stat_view
name="timedetails"
label="Time Details (ms)"
show_label="true">
<stat_bar
name="simsimphysicsstepmsec"
label=" Physics Step"
stat="simsimphysicsstepmsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false" >
</stat_bar>
<stat_bar
name="simsimphysicsshapeupdatemsec"
label=" Update Phys Shapes"
stat="simsimphysicsshapeupdatemsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false" >
</stat_bar>
<stat_bar
name="simsimphysicsothermsec"
label=" Physics Other"
stat="simsimphysicsothermsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false" >
</stat_bar>
<stat_bar
name="simsleepmsec"
label=" Sleep Time"
stat="simsleepmsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false" >
</stat_bar>
<stat_bar
name="simpumpiomsec"
label=" Pump IO"
stat="simpumpiomsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false" >
</stat_bar>
</stat_view>
</stat_view>
<!--Sim Stats-->
<stat_view name="sim"
label="Simulator"
show_label="true"
setting="OpenDebugStatSim">
<stat_bar name="simobjects"
label="Objects"
stat="simobjects"
precision="0"
bar_max="30000.f"
tick_spacing="5000.f"
label_spacing="10000.f"
show_bar="false"
show_mean="false"/>
<stat_bar name="simactiveobjects"
label="Active Objects"
stat="simactiveobjects"
precision="0"
bar_max="5000.f"
tick_spacing="750.f"
label_spacing="1250.f"
show_bar="false"
show_mean="false"/>
<stat_bar name="simactivescripts"
label="Active Scripts"
stat="simactivescripts"
precision="0"
bar_max="15000.f"
tick_spacing="1875.f"
label_spacing="3750.f"
show_bar="false"
show_mean="false"/>
<stat_bar name="siminpps"
label="Packets In"
stat="siminpps"
unit_label="pps"
precision="0"
bar_max="2000.f"
tick_spacing="250.f"
label_spacing="1000.f"
show_bar="false"
show_mean="false"/>
<stat_bar name="simoutpps"
label="Packets Out"
stat="simoutpps"
unit_label="pps"
precision="0"
bar_max="2000.f"
tick_spacing="250.f"
label_spacing="1000.f"
show_bar="false"
show_mean="false"/>
<stat_bar name="simpendingdownloads"
label="Pending Downloads"
stat="simpendingdownloads"
precision="0"
bar_max="800.f"
tick_spacing="100.f"
label_spacing="200.f"
show_bar="false"
show_mean="false"/>
<stat_bar name="simpendinguploads"
label="Pending Uploads"
stat="simpendinguploads"
precision="0"
bar_max="100.f"
tick_spacing="25.f"
label_spacing="50.f"
show_bar="false"
show_mean="false"/>
<stat_bar name="simtotalunackedbytes"
label="Total Unacked Bytes"
stat="simtotalunackedbytes"
unit_label="kb"
precision="1"
bar_max="100000.f"
tick_spacing="25000.f"
label_spacing="50000.f"
show_bar="false"
show_mean="false"/>
<stat_view name="simperf"
label="Time (ms)"
show_label="true">
<stat_bar name="simframemsec"
label="Total Frame Time"
stat="simframemsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false"/>
<stat_bar name="simnetmsec"
label="Net Time"
stat="simnetmsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false"/>
<stat_bar name="simsimphysicsmsec"
label="Physics Time"
stat="simsimphysicsmsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false"/>
<stat_bar name="simsimothermsec"
label="Simulation Time"
stat="simsimothermsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false"/>
<stat_bar name="simagentmsec"
label="Agent Time"
stat="simagentmsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false"/>
<stat_bar name="simimagesmsec"
label="Images Time"
stat="simimagesmsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false"/>
<stat_bar name="simscriptmsec"
label="Script Time"
stat="simscriptmsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false"/>
<stat_bar name="simsparemsec"
label="Spare Time"
stat="simsparemsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false"/>
<!--2nd level time blocks under 'Details' second-->
<stat_view name="timedetails"
label="Time Details (ms)"
show_label="true">
<stat_bar name="simsimphysicsstepmsec"
label=" Physics Step"
stat="simsimphysicsstepmsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false"/>
<stat_bar name="simsimphysicsshapeupdatemsec"
label=" Update Phys Shapes"
stat="simsimphysicsshapeupdatemsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false"/>
<stat_bar name="simsimphysicsothermsec"
label=" Physics Other"
stat="simsimphysicsothermsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false"/>
<stat_bar name="simsleepmsec"
label=" Sleep Time"
stat="simsleepmsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false"/>
<stat_bar name="simpumpiomsec"
label=" Pump IO"
stat="simpumpiomsec"
unit_label="ms"
precision="3"
bar_max="40.f"
tick_spacing="10.f"
label_spacing="20.f"
show_bar="false"
show_mean="false"/>
</stat_view>
</stat_view>
</stat_view>
</container_view>
</scroll_container>
</container_view>
</scroll_container>
</floater>