Mercurial > emacs
changeset 100830:01439dc6e53b
(system_process_attributes): Compute Qtime and Qctime and add them to the alist.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 02 Jan 2009 15:06:49 +0000 |
parents | b14d829e1272 |
children | e43e429a11bb |
files | src/sysdep.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/sysdep.c Fri Jan 02 15:06:22 2009 +0000 +++ b/src/sysdep.c Fri Jan 02 15:06:49 2009 +0000 @@ -3493,12 +3493,18 @@ attrs = Fcons (Fcons (Qstime, ltime_from_jiffies (stime, clocks_per_sec)), attrs); + attrs = Fcons (Fcons (Qtime, + ltime_from_jiffies (stime+utime, clocks_per_sec)), + attrs); attrs = Fcons (Fcons (Qcutime, ltime_from_jiffies (cutime, clocks_per_sec)), attrs); attrs = Fcons (Fcons (Qcstime, ltime_from_jiffies (cstime, clocks_per_sec)), attrs); + attrs = Fcons (Fcons (Qctime, + ltime_from_jiffies (cstime+cutime, clocks_per_sec)), + attrs); attrs = Fcons (Fcons (Qpri, make_number (priority)), attrs); attrs = Fcons (Fcons (Qnice, make_number (nice)), attrs); attrs = Fcons (Fcons (Qthcount, make_fixnum_or_float (thcount_eint)), attrs);