Lines Matching refs:li_usage
778 (void) memcpy(&lwp->li_usage, usage, sizeof (prusage_t)); in lwp_update()
814 TIME2NSEC(lwp->li_usage.pr_rtime); in lwp_update()
824 TIME2NSEC(lwp->li_usage.pr_utime))/period; in lwp_update()
826 TIME2NSEC(lwp->li_usage.pr_stime))/period; in lwp_update()
828 TIME2NSEC(lwp->li_usage.pr_slptime))/period; in lwp_update()
831 TIME2NSEC(lwp->li_usage.pr_ttime))/period; in lwp_update()
833 TIME2NSEC(lwp->li_usage.pr_tftime))/period; in lwp_update()
835 TIME2NSEC(lwp->li_usage.pr_dftime))/period; in lwp_update()
837 TIME2NSEC(lwp->li_usage.pr_ltime))/period; in lwp_update()
839 TIME2NSEC(lwp->li_usage.pr_wtime))/period; in lwp_update()
840 lwp->li_vcx = usage->pr_vctx - lwp->li_usage.pr_vctx; in lwp_update()
841 lwp->li_icx = usage->pr_ictx - lwp->li_usage.pr_ictx; in lwp_update()
842 lwp->li_scl = usage->pr_sysc - lwp->li_usage.pr_sysc; in lwp_update()
843 lwp->li_sig = usage->pr_sigs - lwp->li_usage.pr_sigs; in lwp_update()
844 (void) memcpy(&lwp->li_usage, usage, sizeof (prusage_t)); in lwp_update()