Get Ram and CPU usage

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By LoneDespair

is there a way to get details like the cpu temperature, cpu usage by the game and ram usage, so that I can optimize my game accordingly

thanks in advance :smiley:

Is this an accidental double-post?

System_Error | 2019-11-09 17:26

Yup, I’m really sorry, i can’t find the delete button

LoneDespair | 2019-11-09 17:34

:bust_in_silhouette: Reply From: Catusfelony

You can get the amount of memory being used with the OS.get_static_memory_usage() method, which’ll show an estimation of used memory in bytes. As for CPU usage, probably not.

You can also look at the memory usage straight from the editor during runtime by accessing the “Monitors” tab in the Debugger and checking “Static” under “Memory”

The monitor has lots of useful metrics for optimization and debugging.

enter image description here

Thank you so much

LoneDespair | 2019-11-11 09:53