DragonFly BSD
DragonFly commits List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/emulation/linux/i386/linprocfs linprocfs_misc.c src/sys/kern kern_clock.c src/sys/sys dkstat.h kinfo.h


From: Hiten Pandya <hmp@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 27 Apr 2005 07:31:19 -0700 (PDT)

hmp         2005/04/27 07:31:19 PDT

DragonFly src repository

  Modified files:
    sys/emulation/linux/i386/linprocfs linprocfs_misc.c 
    sys/kern             kern_clock.c 
    sys/sys              dkstat.h kinfo.h 
  Log:
  Change CPU time statistics (cputime) to be accounted on a per-CPU basis.
  
  	(a) remove struct cp_time, it was redundant since kinfo_cputime has
  	    been introduced; kinfo_get_sched_cputime(3) function makes use
  	    of the latter struct.
  
  	(b) change global definition from cp_time into cpu_time, it's now a
  	    #define that hides the ugliness of percpu array indexing.
  
  	(c) minor style(9) cleanups in nearby code.
  
  Reviewed-by/discussed-with: Matthew Dillon <dillon@xxxxxxxxxxxxx>
  
  Revision  Changes    Path
  1.11      +6 -6      src/sys/emulation/linux/i386/linprocfs/linprocfs_misc.c
  1.40      +26 -10    src/sys/kern/kern_clock.c
  1.4       +1 -14     src/sys/sys/dkstat.h
  1.5       +15 -0     src/sys/sys/kinfo.h


http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/i386/linprocfs/linprocfs_misc.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_clock.c.diff?r1=1.39&r2=1.40&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/dkstat.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/kinfo.h.diff?r1=1.4&r2=1.5&f=u



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