diff options
| author | Eli Zaretskii | 2009-01-02 15:06:02 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2009-01-02 15:06:02 +0000 |
| commit | 89c874cfd7f3f42640cf4b2f917d9646be7f449c (patch) | |
| tree | 7cb984768cf159f94e3b4f41a9b694eee5fbaa9f /src | |
| parent | dca6c4189b8087267daf446463013227c9a91e7d (diff) | |
| download | emacs-89c874cfd7f3f42640cf4b2f917d9646be7f449c.tar.gz emacs-89c874cfd7f3f42640cf4b2f917d9646be7f449c.zip | |
(top level) <Qtime, Qctime>: New variables.
(syms_of_process): staticpro them.
(Fsystem_process_attributes): Add their documentation to the doc string.
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index 681c9fa783d..abe5b95905f 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -149,7 +149,7 @@ extern Lisp_Object QCfilter; | |||
| 149 | Lisp_Object Qeuid, Qegid, Qcomm, Qstate, Qppid, Qpgrp, Qsess, Qttname, Qtpgid; | 149 | Lisp_Object Qeuid, Qegid, Qcomm, Qstate, Qppid, Qpgrp, Qsess, Qttname, Qtpgid; |
| 150 | Lisp_Object Qminflt, Qmajflt, Qcminflt, Qcmajflt, Qutime, Qstime, Qcstime; | 150 | Lisp_Object Qminflt, Qmajflt, Qcminflt, Qcmajflt, Qutime, Qstime, Qcstime; |
| 151 | Lisp_Object Qcutime, Qpri, Qnice, Qthcount, Qstart, Qvsize, Qrss, Qargs; | 151 | Lisp_Object Qcutime, Qpri, Qnice, Qthcount, Qstart, Qvsize, Qrss, Qargs; |
| 152 | Lisp_Object Quser, Qgroup, Qetime, Qpcpu, Qpmem; | 152 | Lisp_Object Quser, Qgroup, Qetime, Qpcpu, Qpmem, Qtime, Qctime; |
| 153 | 153 | ||
| 154 | #ifdef HAVE_SOCKETS | 154 | #ifdef HAVE_SOCKETS |
| 155 | #define NETCONN_P(p) (EQ (XPROCESS (p)->type, Qnetwork)) | 155 | #define NETCONN_P(p) (EQ (XPROCESS (p)->type, Qnetwork)) |
| @@ -7119,8 +7119,10 @@ integer or floating point values. | |||
| 7119 | cmajflt -- cumulative number of major page faults (number) | 7119 | cmajflt -- cumulative number of major page faults (number) |
| 7120 | utime -- user time used by the process, in the (HIGH LOW USEC) format | 7120 | utime -- user time used by the process, in the (HIGH LOW USEC) format |
| 7121 | stime -- system time used by the process, in the (HIGH LOW USEC) format | 7121 | stime -- system time used by the process, in the (HIGH LOW USEC) format |
| 7122 | time -- sum of utime and stime, in the (HIGH LOW USEC) format | ||
| 7122 | cutime -- user time used by the process and its children, (HIGH LOW USEC) | 7123 | cutime -- user time used by the process and its children, (HIGH LOW USEC) |
| 7123 | cstime -- system time used by the process and its children, (HIGH LOW USEC) | 7124 | cstime -- system time used by the process and its children, (HIGH LOW USEC) |
| 7125 | ctime -- sum of cutime and cstime, in the (HIGH LOW USEC) format | ||
| 7124 | pri -- priority of the process (number) | 7126 | pri -- priority of the process (number) |
| 7125 | nice -- nice value of the process (number) | 7127 | nice -- nice value of the process (number) |
| 7126 | thcount -- process thread count (number) | 7128 | thcount -- process thread count (number) |
| @@ -7386,10 +7388,14 @@ syms_of_process () | |||
| 7386 | staticpro (&Qutime); | 7388 | staticpro (&Qutime); |
| 7387 | Qstime = intern ("stime"); | 7389 | Qstime = intern ("stime"); |
| 7388 | staticpro (&Qstime); | 7390 | staticpro (&Qstime); |
| 7391 | Qtime = intern ("time"); | ||
| 7392 | staticpro (&Qtime); | ||
| 7389 | Qcutime = intern ("cutime"); | 7393 | Qcutime = intern ("cutime"); |
| 7390 | staticpro (&Qcutime); | 7394 | staticpro (&Qcutime); |
| 7391 | Qcstime = intern ("cstime"); | 7395 | Qcstime = intern ("cstime"); |
| 7392 | staticpro (&Qcstime); | 7396 | staticpro (&Qcstime); |
| 7397 | Qctime = intern ("ctime"); | ||
| 7398 | staticpro (&Qctime); | ||
| 7393 | Qpri = intern ("pri"); | 7399 | Qpri = intern ("pri"); |
| 7394 | staticpro (&Qpri); | 7400 | staticpro (&Qpri); |
| 7395 | Qnice = intern ("nice"); | 7401 | Qnice = intern ("nice"); |
| @@ -7843,8 +7849,10 @@ integer or floating point values. | |||
| 7843 | cmajflt -- cumulative number of major page faults (number) | 7849 | cmajflt -- cumulative number of major page faults (number) |
| 7844 | utime -- user time used by the process, in the (HIGH LOW USEC) format | 7850 | utime -- user time used by the process, in the (HIGH LOW USEC) format |
| 7845 | stime -- system time used by the process, in the (HIGH LOW USEC) format | 7851 | stime -- system time used by the process, in the (HIGH LOW USEC) format |
| 7852 | time -- sum of utime and stime, in the (HIGH LOW USEC) format | ||
| 7846 | cutime -- user time used by the process and its children, (HIGH LOW USEC) | 7853 | cutime -- user time used by the process and its children, (HIGH LOW USEC) |
| 7847 | cstime -- system time used by the process and its children, (HIGH LOW USEC) | 7854 | cstime -- system time used by the process and its children, (HIGH LOW USEC) |
| 7855 | ctime -- sum of cutime and cstime, in the (HIGH LOW USEC) format | ||
| 7848 | pri -- priority of the process (number) | 7856 | pri -- priority of the process (number) |
| 7849 | nice -- nice value of the process (number) | 7857 | nice -- nice value of the process (number) |
| 7850 | thcount -- process thread count (number) | 7858 | thcount -- process thread count (number) |