diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-03-04 19:21:38 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-03-04 19:29:05 -0800 |
commit | 2fbd48f733426824cb89b958378a52cfb053774c (patch) | |
tree | 79426b942d4901e0049837f29426ebf299181bcd /lisp/emacs-lisp | |
parent | b19ec1be3c35b0ec231282ab51d0b320e2967052 (diff) | |
download | emacs-2fbd48f733426824cb89b958378a52cfb053774c.tar.gz emacs-2fbd48f733426824cb89b958378a52cfb053774c.tar.bz2 emacs-2fbd48f733426824cb89b958378a52cfb053774c.zip |
Fix process-attributes time precision on GNU/Linux
* src/sysdep.c [GNU_LINUX]:
(time_from_jiffies): Simplify by using time-convert. Change args
and result type. All uses changed.
(ltime_from_jiffies): Remove; call time_from_jiffies instead.
(put_jiffies): New function.
(get_up_time): Return Lisp_Object not struct timespec.
All uses changed. Simplify by using time-add.
(system_process_attributes): Simplify by using the above.
This fixes some minor problems where timestamps promised more
precision than was actually available. When info is not
available (e.g., sysconf fails) do not place it into the alist.
* src/timefns.c (float_time): Now extern.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions