Ignore:
Timestamp:
Jan 13, 2010 2:09:30 AM (5 years ago)
Author:
sam
Message:

Rename -t/--max-time to -U/--max-usertime, and add -t/--max-time to
roughly mean "maximum zzuf run time". Fixes bug #45.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/opts.c

    r4253 r4264  
    2828 
    2929#include "common.h" 
     30#include "timer.h" 
    3031#include "opts.h" 
    3132 
     
    4445    opts->verbose = 0; 
    4546    opts->maxmem = DEFAULT_MEM; 
    46     opts->maxtime = -1; 
     47    opts->starttime = _zz_time(); 
     48    opts->maxtime = 0; 
     49    opts->maxusertime = -1; 
    4750    opts->maxcpu = -1; 
    4851    opts->delay = 0; 
Note: See TracChangeset for help on using the changeset viewer.