source: trunk/gui/tclconfig/mkindex.tcl @ 503

Last change on this file since 503 was 158, checked in by mmc, 18 years ago
  • Fixed installation so that this "gui" part can be installed with standard autoconf techniques: configure, make all, make install The "gui" library is loaded via "package require RapptureGUI"
  • Added C code for Rappture::rlimit, to support limits on CPU time and file sizes. Default limits are 15 mins of CPU and 1MB for each file. These can be overridden in tool.xml by using <tool><limits><cputime> and <tool><limits><filesize>.
  • Added C code for Rappture::rusage, so we can collect resource usage for all child processes. Each Simulation now reports a line of usage to stderr as follows:

MiddlewareTime?: job=# event=simulation start=xxx cputime=xxx ...

  • Fixed Rappture::exec so that it reports proper error messages when rlimits are execeeded.
File size: 727 bytes
Line 
1# ----------------------------------------------------------------------
2#  mkindex.tcl
3#
4#  This utility freshens up the tclIndex file in a scripts directory.
5#    USAGE:  tclsh mkindex.tcl ?<directory> <directory> ...?
6#
7# ======================================================================
8#  AUTHOR:  Michael McLennan, Purdue University
9#  Copyright (c) 2004-2005  Purdue Research Foundation
10#
11#  See the file "license.terms" for information on usage and
12#  redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
13# ======================================================================
14package require Itcl  ;# include itcl constructs in the index
15
16foreach dir $argv {
17    auto_mkindex $dir *.tcl *.itcl
18}
Note: See TracBrowser for help on using the repository browser.