Changeset 1257 for trunk/lang/tcl


Ignore:
Timestamp:
Dec 10, 2008 7:57:25 AM (15 years ago)
Author:
mmc
Message:

Added a new Rappture::sysinfo command for querying system load
information. Updated the p2p software to use that command to
gauge the load of workers and execute a "perftest" executable
from time to time to measure worker output.

Location:
trunk/lang/tcl
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lang/tcl/src/Makefile.in

    r1082 r1257  
    5555                RpRusage.o \
    5656                RpSignal.o  \
     57                RpSysinfo.o  \
    5758                RpUnitsTclInterface.o \
    5859                RpUtilsTclInterface.o
  • trunk/lang/tcl/src/Rappture_Init.c

    r1018 r1257  
    2525extern Tcl_AppInitProc RpRusage_Init;
    2626extern Tcl_AppInitProc RpSignal_Init;
     27extern Tcl_AppInitProc RpSysinfo_Init;
    2728extern Tcl_AppInitProc RpDaemon_Init;
    2829
     
    7273        return TCL_ERROR;
    7374    }
     75    if (RpSysinfo_Init(interp) != TCL_OK) {
     76        return TCL_ERROR;
     77    }
    7478    if (RpDaemon_Init(interp) != TCL_OK) {
    7579        return TCL_ERROR;
Note: See TracChangeset for help on using the changeset viewer.