top: proc summary mismatch

Dmitry Lohansky sq at sqstudio.ru
Fri Mar 23 05:01:23 PDT 2007


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






More information about the Bugs mailing list