]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Idle ticks optimization:
authorAlexander Motin <mav@FreeBSD.org>
Sat, 10 Mar 2012 14:57:21 +0000 (14:57 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Sat, 10 Mar 2012 14:57:21 +0000 (14:57 +0000)
commitbcfd016cffc6a4038965d53fe675c00d6ad80f20
tree8b2b5ba74f47f4a3fabe3b9c70eb58891290db16
parent0a53cd5742062d97c31fad99b4afdcacdd2ace32
Idle ticks optimization:
 - Pass number of events to the statclock() and profclock() functions
   same as to hardclock() before to not call them many times in a loop.
 - Rename them into statclock_cnt() and profclock_cnt().
 - Turn statclock() and profclock() into compatibility wrappers,
   still needed for arm.
 - Rename hardclock_anycpu() into hardclock_cnt() for unification.

MFC after: 1 week
sys/kern/kern_clock.c
sys/kern/kern_clocksource.c
sys/sys/systm.h