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

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


From: Jan Lentfer <lentferj@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 19 Dec 2009 04:10:13 -0800 (PST)

commit bcd4a7c198ed7d7b9accf02d021a2d822347cb1d
Author: Jan Lentfer <Jan.Lentfer@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



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