Changeset 2106 in Sophya for trunk/SophyaPI/PIext/pistdimgapp.h


Ignore:
Timestamp:
Jul 17, 2002, 7:30:48 PM (23 years ago)
Author:
ansari
Message:

Ajout indicateur memoire consommee/CPU ds fenetre piapp - Reza 17/7/2002

File:
1 edited

Legend:

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

    r1971 r2106  
    2121
    2222#include PIFILECHO_H
     23#include PIPERIODIC_H
     24
    2325#include "picons.h"
    2426
     
    2931#include "pisiadw.h"
    3032#include "pistzwin.h"
     33
     34#include "pitherm.h"
     35
     36#include "resusage.h"
    3137
    3238
     
    100106    void   StatZoomWindowSetVisible(bool fg=true);
    101107
     108// Update de l'info de la fenetre stats/ressources
     109    void   UpdateStatResourceInfo();
     110
    102111// Redirection ou Non de StdOut/StdErr
    103112     void  RedirectStdOutErr(bool fg = true);
     
    144153    PIPixmap* gimv;
    145154    PICMapView* cmapv;
    146     PILabel* labstat;
     155  // Pour afficher des stats
     156    PILabel* lab_mem;
     157    PIThermometer* therm_mem;
     158    PILabel* lab_cpu;
     159    PIThermometer* therm_cpu;
    147160
    148161    PIFileChooser * pfc_fits;   // Pour les fichiers FITS
     
    183196    int mFgScSz;   // Flag ScreenSize
    184197    bool mFgCWImg; // true -> Current Widget is PIImage
     198
     199  // Pour comptabiliser l'utilisation des ressources
     200    ResourceUsage resusg;
     201    PIPeriodic* resupd_periodic;
    185202};
    186203
Note: See TracChangeset for help on using the changeset viewer.