Posted By

xyzeugene on 12/04/18


Tagged

lazarus


Versions (?)

Get the Percentage of Total CPU Usage


 / Published in: Pascal
 

URL: https://stackoverflow.com/questions/33571061/get-the-percentage-of-total-cpu-usage

Get the Percentage of Total CPU Usage

  1. GlobalMemoryStatus(RamStats);
  2. Label1.Caption := Format('RAM: %d %%', [RamStats.dwMemoryLoad]);

Report this snippet  

You need to login to post a comment.