+3 votes

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 :D

in Engine by (390 points)

Is this an accidental double-post?

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

1 Answer

+4 votes
Best answer

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

by (88 points)
selected by

Thank you so much

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.