Changeset 2259 in Sophya for trunk/SophyaPI/PIext


Ignore:
Timestamp:
Nov 13, 2002, 1:31:48 AM (23 years ago)
Author:
ansari
Message:

Amelioration mineure affichage CPULoad() - Reza 12/11/2002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/pistdimgapp.cc

    r2243 r2259  
    12581258  lab = buff;
    12591259  lab_cpu->SetLabel(lab);
    1260   therm_cpu->SetValue(resusg.getCPULoad());
    1261  
     1260  if (resusg.getCPULoad() > resusg.getAverageCPULoad())
     1261    therm_cpu->SetValue(resusg.getCPULoad());
     1262  else
     1263    therm_cpu->SetValue(resusg.getAverageCPULoad());
    12621264}
    12631265
Note: See TracChangeset for help on using the changeset viewer.