CPU utilisation?

Discussion and questions about programming with Ultibo.
dieselnutjob
Posts: 18
Joined: Wed Jun 26, 2019 12:48 am

CPU utilisation?

Postby dieselnutjob » Wed Jul 24, 2019 5:08 pm

Is there a function somewhere that will report what the current CPU utilisation is?
Normally this is quite OS specific but Ultibo doesn't have an OS....
User avatar
Ultibo
Site Admin
Posts: 2291
Joined: Sat Dec 19, 2015 3:49 am
Location: Australia

Re: CPU utilisation?

Postby Ultibo » Wed Jul 24, 2019 11:54 pm

dieselnutjob wrote:Is there a function somewhere that will report what the current CPU utilisation is?

Check out CPUGetPercentage and CPUGetUtilization in the Platform unit, you can obtain either per CPU utilization or the average of all CPUs.

The Ultibo Demo gives an example of how to use these functions.
Ultibo.org | Make something amazing
https://ultibo.org

Return to “General”

Who is online

Users browsing this forum: No registered users and 2 guests