Windows.Performance.Mod 464 B

123456789101112131415
  1. MODULE Performance;
  2. VAR
  3. load*: ARRAY 3 OF REAL; (* load estimates *)
  4. idle*: ARRAY 1 OF LONGINT; (* idle percentage estimates *)
  5. BEGIN
  6. idle[0] := -1;
  7. END Performance.
  8. (*
  9. Notes:
  10. o "load" is a Unix-like estimate of the average number of ready and running processes over the past 1, 5 and 15 minutes.
  11. o "idle" is an estimate of the percentage of idle time per processor over the last 10 seconds.
  12. o When a processor is not available, its idle estimate is -1.
  13. *)