static long start
, user
, system
;
user
= tx
.proc_user_time
;
system
= tx
.proc_system_time
;
start
= tp
.time
*1000+tp
.millitm
;
lap
= (tp
.time
*1000+tp
.millitm
-start
)/1000.;
use
= (tx
.proc_user_time
- user
)/60.;
sys
= (tx
.proc_system_time
- system
)/60.;
printf("Elapsed %.2f CPU %.2f (user %.2f, sys %.2f)\n",