Get the current cpu usage of this program. Uses the clock() method that returns the total current time used by this program. This is then used to compute the current cpu load of this program.
the current CPU usage of this program as a percentage
See Implementation
Get the current cpu usage of this program. Uses the clock() method that returns the total current time used by this program. This is then used to compute the current cpu load of this program.