Meaning of the fps debug values
-
If I select to have the fps/resource debug info displayed, there are a lots of different values displayed at the top right during the program run. What are the numbers there representing?
-
The first one at the top is FPS of course. The next 4 numbers I think are CPU usage %'s for each CPU core.
The "Total Free:" is MBs of available RAM remaining for your program at the given moment. -
@fuze4cats said in Meaning of the fps debug values:
The first one at the top is FPS of course. The next 4 numbers I think are CPU usage %'s for each CPU core.
The "Total Free:" is MBs of available RAM remaining for your program at the given moment.I don't believe the 4 numbers are all CPU core usage in percentages. For one, games and apps only have 3 cores to utilize. The 4th is reserved for the OS.
The first is tied to CPU usage, but I don't believe it's a percentage. Did a test and used a high iteration loop (in the hundreds of thousands), and it caused the first number on the left to increase, and once past a point of around 350k iterations, the other number on the left jumped from 16.6 to roughly 33.3, with the fps dropping. I think the first number is how much time in milliseconds it takes the code to process outside of the update command. The bottom is the overall time in milliseconds for the code from update to update (or vysnc to vsync). When you think about it, what's 16.666ms (repeating) times 60? Practically 1000ms, or 1 second.
So what about the right-side numbers? I think those refer to the GPU, though I dunno if that's in ms. When on the title screen for Super Mega Arena Blaster, the lower of those two numbers fluctuates when the title has its wavy effect, and the fps does drop (but that's likely because the CPU usage in ms changes as well).
-
The numbers on the fps meter are (in milliseconds): cpu processing time (dark blue), gpu processing time (red), frame time (green) and vsync latency (light blue).
When gpu processing time rises above 15ms the gpu is switched to a higher clock speed and the background of the fps meter turns red, the system returns to the default mode when the gpu time drops below 12ms. Hopefully that answers any questions.