DragonFly commits List (threaded) for 2005-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/lib/libkcore kcore_sched.c src/lib/libkinfo Makefile kinfo.h kinfo_pcpu.c kinfo_pcpu.h kinfo_sched.c
hmp 2005/04/27 08:13:35 PDT
DragonFly src repository
Modified files:
lib/libkcore kcore_sched.c
lib/libkinfo Makefile kinfo.h kinfo_sched.c
Added files:
lib/libkinfo kinfo_pcpu.c kinfo_pcpu.h
Log:
Adapt the KINFO library to aggregate per-cpu cputime statistics.
(a) add a framework for aggregating per-cpu structures, of variant
field types; this interface will undergo change once it is
formalised upon, kinfo_pcpu.[ch].
(b) minor style(9) cleanups while I am around these ends.
(c) adjust libkcore, this might not be fully correct but it fetches
the right symbol at the least, it is not so easy to collect
per-cpu statistics from core files without doing magic with the
CPU privatespace like how we do in GDB debug scripts.
(d) kinfo_get_sched_cputime(3) is fetching aggregate statistics to
retain behavior, most programs do not care about per-cpu stats
without getting really mucky anyway; (discussed with joerg)
Revision Changes Path
1.2 +1 -1 src/lib/libkcore/kcore_sched.c
1.5 +2 -2 src/lib/libkinfo/Makefile
1.5 +14 -2 src/lib/libkinfo/kinfo.h
1.2 +36 -3 src/lib/libkinfo/kinfo_sched.c
http://www.dragonflybsd.org/cvsweb/src/lib/libkcore/kcore_sched.c.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libkinfo/Makefile.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libkinfo/kinfo.h.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libkinfo/kinfo_sched.c.diff?r1=1.1&r2=1.2&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]