git: top: Remove WCPU, implement CTIME. * WCPU is a quite useless value for a long time, thus it has been replaced with * CTIME, which presents the same value as 'ps -S' does for the CPU value. This is the process's own cpu time plus the cpu time of it's exited child processes

Jan Lentfer lentferj at crater.dragonflybsd.org
Sat Dec 19 04:12:49 PST 2009


commit bcd4a7c198ed7d7b9accf02d021a2d822347cb1d
Author: Jan Lentfer <Jan.Lentfer at web.de>
Date:   Sat Dec 19 13:04:17 2009 +0100

    top: Remove WCPU, implement CTIME.
         * WCPU is a quite useless value for a long time,
           thus it has been replaced with
         * CTIME, which presents the same value as 'ps -S'
           does for the CPU value. This is the process's own
           cpu time plus the cpu time of it's exited child
           processes

Summary of changes:
 contrib/top/utils.c       |   13 ++++-----
 contrib/top/utils.h       |    2 +-
 usr.bin/top/m_dragonfly.c |   62 ++++++++++++++++++++++++++++++++++++--------
 3 files changed, 57 insertions(+), 20 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bcd4a7c198ed7d7b9accf02d021a2d822347cb1d


-- 
DragonFly BSD source repository





More information about the Commits mailing list