Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ac1e4171
Commit
ac1e4171
authored
Jan 02, 2009
by
Eli Zaretskii
Browse files
(system_process_attributes): Compute Qtime and Qctime and add them to the alist.
parent
82786952
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/sysdep.c
src/sysdep.c
+6
-0
No files found.
src/sysdep.c
View file @
ac1e4171
...
...
@@ -3493,12 +3493,18 @@ system_process_attributes (Lisp_Object pid)
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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment