Performance graph in Uniview

To view the real time performance graph in Uniview, type in the uniview command:


main.printdebugtext


Which will bring up the following overlay rendering in Uniview:


Image 346



The relevant information for performance are the line graphs.


The two straight light green lines (from the bottom to top) corresponds to frame times for 60 fps and 30 fps respectively and are for reference for the actual data.


The white line is the total CPU time taken for the frame to render. 


The green line gives the total CPU time it took for the draw function for all forms of visualizations. 


The red line shows the total CPU time for the simulation update of all objects for the frame. 


Note that the red line is given a constant offset above the green line for clearer reading and also:  red - red_offset + green + (some other time) = white line


You can also use the following browser tool when Uniview is running:


http://127.0.0.1:20080/debug/profilelog/#/perplots


Image 347


The profile tool is about collecting different logged events from Uniview (from all the participating machines, in case of ServerConnected mode) and visualizing them in a graph. After which you can zoom in/out on the graph at different time in the selected Uniview session that had run and explore the results. Currently the focus is only on the Performance Metric in Uniview. By Performance Metric, we mean the CPU time it took for a Uniview frame to be rendererd.


Click on the information icon on the right to get more information.

Is this article helpful for you?