Get the Percentage of Total CPU Usage
I am trying to get the % of total CPU usage to a label1.Caption I've searched and found these: didn't work - http://www.vbforums.com/showthread.php?345723-DELPHI-Get-CPU-Usage not what I need - http://delphi.cjcsoft.net/viewthread.php?tid=42837 also found bunch of solutions regarding calculating the Usage per process but that is not what i am looking for , i just want the total CPU usage like this widget : this is what i am working on : I believe there is a simple way like when we get RAM usage. GlobalMemoryStatus(RamStats); Label1.Caption := Format('RAM: %d %%', [RamStats.dwMemoryLoad]); I