summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_clock.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2003-02-17 05:14:26 +0000
committerjeff <jeff@FreeBSD.org>2003-02-17 05:14:26 +0000
commit590a39e29bf8644b413c065f10b5830304c7e17f (patch)
treecb2703bfafc305c3d31849f9db4c5de6aee18706 /sys/kern/kern_clock.c
parent9ca123a9b5e06a7012786efe917e934c659b7ab2 (diff)
downloadFreeBSD-src-590a39e29bf8644b413c065f10b5830304c7e17f.zip
FreeBSD-src-590a39e29bf8644b413c065f10b5830304c7e17f.tar.gz
- Split the struct kse into struct upcall and struct kse. struct kse will
soon be visible only to schedulers. This greatly simplifies much the KSE code. Submitted by: davidxu
Diffstat (limited to 'sys/kern/kern_clock.c')
-rw-r--r--sys/kern/kern_clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index df7ca5a..da75813 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -375,7 +375,7 @@ statclock(frame)
* Charge the time as appropriate.
*/
if (p->p_flag & P_KSES)
- thread_add_ticks_intr(1, 1);
+ thread_statclock(1);
p->p_uticks++;
if (ke->ke_ksegrp->kg_nice > NZERO)
cp_time[CP_NICE]++;
@@ -399,7 +399,7 @@ statclock(frame)
cp_time[CP_INTR]++;
} else {
if (p->p_flag & P_KSES)
- thread_add_ticks_intr(0, 1);
+ thread_statclock(0);
td->td_sticks++;
p->p_sticks++;
if (p != PCPU_GET(idlethread)->td_proc)
OpenPOWER on IntegriCloud