diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2006-02-11 09:33:07 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2006-02-11 09:33:07 +0000 |
| commit | e8444a7e6fff27da1521f11fe324f7f468c0e9d2 (patch) | |
| tree | 73ea17d2f55a44a7f1176452216547b95457bc95 /sys/kern/kern_clock.c | |
| parent | e1fa2d955664c32dbe313c6d50b7da10ae7e2c30 (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_clock.c')
| -rw-r--r-- | sys/kern/kern_clock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c index 0316c3e817ca..d7fb1a0f31d4 100644 --- a/sys/kern/kern_clock.c +++ b/sys/kern/kern_clock.c @@ -415,7 +415,7 @@ statclock(int usermode) */ if (p->p_flag & P_SA) thread_statclock(1); - p->p_rux.rux_uticks++; + td->td_uticks++; if (p->p_nice > NZERO) cp_time[CP_NICE]++; else @@ -435,13 +435,13 @@ statclock(int usermode) */ if ((td->td_pflags & TDP_ITHREAD) || td->td_intr_nesting_level >= 2) { - p->p_rux.rux_iticks++; + td->td_iticks++; cp_time[CP_INTR]++; } else { if (p->p_flag & P_SA) thread_statclock(0); td->td_pticks++; - p->p_rux.rux_sticks++; + td->td_sticks++; if (td != PCPU_GET(idlethread)) cp_time[CP_SYS]++; else |
