DragonFly BSD
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

From: Hiten Pandya <hmp@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 27 Apr 2005 08:13:35 -0700 (PDT)

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 
  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


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]