Rev 2792 | Rev 5335 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2792 | Rev 3823 | ||
---|---|---|---|
Line 407... | Line 407... | ||
407 | if(getrusage(RUSAGE_CHILDREN,&us)==0) { |
407 | if(getrusage(RUSAGE_CHILDREN,&us)==0) { |
408 | time1+=us.ru_utime.tv_sec*1000+us.ru_utime.tv_usec/1000; |
408 | time1+=us.ru_utime.tv_sec*1000+us.ru_utime.tv_usec/1000; |
409 | time1+=us.ru_stime.tv_sec*1000+us.ru_stime.tv_usec/1000; |
409 | time1+=us.ru_stime.tv_sec*1000+us.ru_stime.tv_usec/1000; |
410 | } |
410 | } |
411 | snprintf(tmplbuf,sizeof(tmplbuf),"%d,%d,%d,%.4f,%.2f,%d,%d,%d", |
411 | snprintf(tmplbuf,sizeof(tmplbuf),"%d,%d,%d,%.4f,%.2f,%d,%d,%d", |
412 | _varptr-_varbuf |
412 | (int)(_varptr-_varbuf[_varbufcurr])+_varbufcurr*VARBUF_LEN, |
413 | bufvcnt-freevcnt,freevcnt, |
413 | bufvcnt-freevcnt,freevcnt, |
414 | (double) endmtime2/10000, (double) time1/1000, |
414 | (double) endmtime2/10000, (double) time1/1000, |
415 | mcachecnt,mfilecnt,execnt); |
415 | mcachecnt,mfilecnt,execnt); |
416 | setvar("wims_debug_info",tmplbuf); |
416 | setvar("wims_debug_info",tmplbuf); |
417 | lastout_file=-1; phtml_put_base("debug.phtml",0); |
417 | lastout_file=-1; phtml_put_base("debug.phtml",0); |