DragonFly bugs List (threaded) for 2007-03
DragonFly BSD
DragonFly bugs List (threaded) for 2007-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re[2]: top: proc summary mismatch


From: Dmitry Lohansky <sq@xxxxxxxxxxx>
Date: Fri, 23 Mar 2007 15:00:27 +0300

Hello, Simon.

> int state;

> state = PP(pp, stat);
> if (LP(pp, stat) == LSSLEEP)
>     state = SZOMB + 1;
> process_states[state]++;

> what do you think?

Of course. This is more clean.
I just don't know your preferences yet.

-- 
W/ best regards, Dmitry




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