]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commit
Introduce TIME_UNITS_PER_SEC to represent internal clock resolution
authorPatrick McHardy <kaber@trash.net>
Sun, 4 Mar 2007 19:14:59 +0000 (20:14 +0100)
committerStephen Hemminger <shemminger@linux-foundation.org>
Tue, 13 Mar 2007 21:42:16 +0000 (14:42 -0700)
commitf0bda7e5a52d880a85af698a041afa7dc379e76e
treee081436da0d22088f95913aa4873f082e5b273f4
parent76dc0aa28fe6fa78e263bf0250c1e42c584dd544
Introduce TIME_UNITS_PER_SEC to represent internal clock resolution

[IPROUTE]: Introduce TIME_UNITS_PER_SEC to represent internal clock resolution

Introduce TIME_UNITS_PER_SEC and conversion functions between internal
resolution and resolution expected by the kernel (currently implemented as
NOPs, only needed by HFSC, which currently always uses microseconds).

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
tc/q_hfsc.c
tc/q_tbf.c
tc/tc_cbq.c
tc/tc_core.c
tc/tc_core.h
tc/tc_estimator.c
tc/tc_util.c