Log In  

Apologies, this has probably been answered before but it's kind of hard to search for this feature. It's not well documented in the readme or the wiki that I can find...

What does the CTRL+P performance monitor/CPU usage widget actually show? What do all the lines/dots and numbers represent?

P#93916 2021-06-23 21:41

this is a very good question that could use an answer. i'm also trying to get some clarification on this because i'm trying to debug intermittent hitches in a cart

P#109162 2022-03-25 21:28
3

I've been trying to figure this out as well. Here's what I got:

The numbers at the bottom are your frame rate and the amount of each frame it takes to run the code then draw the frame.

The number at the left will be out of 30 normally, but will be out of 60 if using _update60(). As long as you are not dropping frames, it should say 30/30 or 60/60.

The number on the right is also what is given by stat(1). So this means how much of that 1/30 or 1/60 of a second it takes to run the calculations then draw the frame. 1 means the entire time period. So if this number goes over 1, you will drop a draw frame. This is also what, I believe, the white line shows.

I have no idea what the dots show. For the most part one set stays at the bottom for me. I guess this might be what stat(2) gives. I don't know what the dots at the top are for. When my stat(1) is low, they stay smooth at the very top, but when stat(1) gets in the 0.6-1 range, they fluctuate and come down. I have no clue.

One thing I noticed is this: If I comment out my draw function, the number at the bottom that represents stat(1), shows 0. I guess this must be because that number is calculated at the end of the draw call.

P#109184 2022-03-26 04:59 ( Edited 2022-03-26 04:59)

thanks, that's very helpful!

P#109452 2022-03-31 06:44

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 12:54:05 | 0.010s | Q:14