TIME2NSEC
period = TIME2NSEC(usage->pr_rtime);
lwp->li_usr = TIME2NSEC(usage->pr_utime)/period;
lwp->li_sys = TIME2NSEC(usage->pr_stime)/period;
lwp->li_slp = TIME2NSEC(usage->pr_slptime)/period;
lwp->li_trp = TIME2NSEC(usage->pr_ttime)/period;
lwp->li_tfl = TIME2NSEC(usage->pr_tftime)/period;
lwp->li_dfl = TIME2NSEC(usage->pr_dftime)/period;
lwp->li_lck = TIME2NSEC(usage->pr_ltime)/period;
lwp->li_lat = TIME2NSEC(usage->pr_wtime)/period;
period = TIME2NSEC(usage->pr_rtime)-
TIME2NSEC(lwp->li_usage.pr_rtime);
lwp->li_usr = (TIME2NSEC(usage->pr_utime)-
TIME2NSEC(lwp->li_usage.pr_utime))/period;
lwp->li_sys = (TIME2NSEC(usage->pr_stime) -
TIME2NSEC(lwp->li_usage.pr_stime))/period;
lwp->li_slp = (TIME2NSEC(usage->pr_slptime) -
TIME2NSEC(lwp->li_usage.pr_slptime))/period;
lwp->li_trp = (TIME2NSEC(usage->pr_ttime) -
TIME2NSEC(lwp->li_usage.pr_ttime))/period;
lwp->li_tfl = (TIME2NSEC(usage->pr_tftime) -
TIME2NSEC(lwp->li_usage.pr_tftime))/period;
lwp->li_dfl = (TIME2NSEC(usage->pr_dftime) -
TIME2NSEC(lwp->li_usage.pr_dftime))/period;
lwp->li_lck = (TIME2NSEC(usage->pr_ltime) -
TIME2NSEC(lwp->li_usage.pr_ltime))/period;
lwp->li_lat = (TIME2NSEC(usage->pr_wtime) -
TIME2NSEC(lwp->li_usage.pr_wtime))/period;