DragonFly commits List (threaded) for 2004-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/bin/ps extern.h print.c ps.c
hmp 2004/06/20 17:47:57 PDT
DragonFly src repository
Modified files:
bin/ps extern.h print.c ps.c
Log:
Use the kern.boottime sysctl for retrieving the system boot time as a
struct timeval. This is used to fix the STARTED column for pure kernel
threads.
Note, currently, we do not set the start time for pure threads due to
safety issues with microtime(9), although this change conditionalizes
the thread start time appropriately, so that in the future when pure
threads will account their start time, we wouldn't need to change anything
in this utility (with regard to the start time, ofcourse).
Discussed-with: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Revision Changes Path
1.6 +1 -0 src/bin/ps/extern.h
1.12 +9 -1 src/bin/ps/print.c
1.8 +12 -0 src/bin/ps/ps.c
http://www.dragonflybsd.org/cvsweb/src/bin/ps/extern.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/bin/ps/print.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/bin/ps/ps.c.diff?r1=1.7&r2=1.8&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]