Mercurial > emacs
changeset 100828:0b30d1767fab
(top level) <Qtime, Qctime>: New variables.
(syms_of_process): staticpro them.
(Fsystem_process_attributes): Add their documentation to the doc string.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 02 Jan 2009 15:06:02 +0000 |
parents | c1719c2265fc |
children | b14d829e1272 |
files | src/process.c |
diffstat | 1 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/process.c Fri Jan 02 14:47:45 2009 +0000 +++ b/src/process.c Fri Jan 02 15:06:02 2009 +0000 @@ -149,7 +149,7 @@ Lisp_Object Qeuid, Qegid, Qcomm, Qstate, Qppid, Qpgrp, Qsess, Qttname, Qtpgid; Lisp_Object Qminflt, Qmajflt, Qcminflt, Qcmajflt, Qutime, Qstime, Qcstime; Lisp_Object Qcutime, Qpri, Qnice, Qthcount, Qstart, Qvsize, Qrss, Qargs; -Lisp_Object Quser, Qgroup, Qetime, Qpcpu, Qpmem; +Lisp_Object Quser, Qgroup, Qetime, Qpcpu, Qpmem, Qtime, Qctime; #ifdef HAVE_SOCKETS #define NETCONN_P(p) (EQ (XPROCESS (p)->type, Qnetwork)) @@ -7119,8 +7119,10 @@ cmajflt -- cumulative number of major page faults (number) utime -- user time used by the process, in the (HIGH LOW USEC) format stime -- system time used by the process, in the (HIGH LOW USEC) format + time -- sum of utime and stime, in the (HIGH LOW USEC) format cutime -- user time used by the process and its children, (HIGH LOW USEC) cstime -- system time used by the process and its children, (HIGH LOW USEC) + ctime -- sum of cutime and cstime, in the (HIGH LOW USEC) format pri -- priority of the process (number) nice -- nice value of the process (number) thcount -- process thread count (number) @@ -7386,10 +7388,14 @@ staticpro (&Qutime); Qstime = intern ("stime"); staticpro (&Qstime); + Qtime = intern ("time"); + staticpro (&Qtime); Qcutime = intern ("cutime"); staticpro (&Qcutime); Qcstime = intern ("cstime"); staticpro (&Qcstime); + Qctime = intern ("ctime"); + staticpro (&Qctime); Qpri = intern ("pri"); staticpro (&Qpri); Qnice = intern ("nice"); @@ -7843,8 +7849,10 @@ cmajflt -- cumulative number of major page faults (number) utime -- user time used by the process, in the (HIGH LOW USEC) format stime -- system time used by the process, in the (HIGH LOW USEC) format + time -- sum of utime and stime, in the (HIGH LOW USEC) format cutime -- user time used by the process and its children, (HIGH LOW USEC) cstime -- system time used by the process and its children, (HIGH LOW USEC) + ctime -- sum of cutime and cstime, in the (HIGH LOW USEC) format pri -- priority of the process (number) nice -- nice value of the process (number) thcount -- process thread count (number)