~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Open Mash Cross Reference
mash/degas/degasresmgr.h

Component: ~ [ mash ] ~ [ apps ] ~ [ gsm ] ~ [ lib ] ~ [ otcl ] ~ [ srm ] ~ [ tcl8.3 ] ~ [ tclcl ] ~ [ tk8.3 ] ~ [ tutorials ] ~

  1 #ifndef DEGAS_RESOURCE_MANAGER
  2 #define DEGAS_RESOURCE_MANAGER
  3 
  4 #include <tcl.h>
  5 #include <tclcl.h>
  6 #include <fstream>
  7 #include "degasresmon.h"
  8 
  9 class DegasResourceManager : public TclObject {
 10 
 11     FILE *cpu_log_;
 12     Tcl_HashTable mem_used_table_;
 13     DegasResourceMonitor *res_mon_;
 14 
 15 public :
 16 
 17     DegasResourceManager();
 18     ~DegasResourceManager();
 19     int command (int argc, const char*const* argv);
 20     void new_user(const char *name);
 21     void mem_alloc(const char *name, int count);
 22     void mem_free(const char *name, int count);
 23     int  get_mem_used(const char *name);
 24     void log_cpu_usage();
 25 };
 26 
 27 #endif
 28 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.