1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

* alloc.c (Fgarbage_collect): Indent as per usual Emacs style.

This commit is contained in:
Paul Eggert 2012-07-29 09:00:35 -07:00
parent 8519232d51
commit 387d4d92bc
2 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
* alloc.c (Fgarbage_collect): Indent as per usual Emacs style.
2012-07-29 Eli Zaretskii <eliz@gnu.org>
* makefile.w32-in (LISP_H): Add $(NT_INC)/stdalign.h.

View File

@ -5706,9 +5706,9 @@ See Info node `(elisp)Garbage Collection'. */)
#if GC_MARK_STACK == GC_USE_GCPROS_CHECK_ZOMBIES
{
/* Compute average percentage of zombies. */
double nlive =
total_conses + total_symbols + total_markers + total_strings
+ total_vectors + total_floats + total_intervals + total_buffers;
double nlive =
(total_conses + total_symbols + total_markers + total_strings
+ total_vectors + total_floats + total_intervals + total_buffers);
avg_live = (avg_live * ngcs + nlive) / (ngcs + 1);
max_live = max (nlive, max_live);
@ -5727,9 +5727,11 @@ See Info node `(elisp)Garbage Collection'. */)
/* Accumulate statistics. */
if (FLOATP (Vgc_elapsed))
Vgc_elapsed = make_float
(XFLOAT_DATA (Vgc_elapsed) + EMACS_TIME_TO_DOUBLE
(sub_emacs_time (current_emacs_time (), start)));
{
EMACS_TIME since_start = sub_emacs_time (current_emacs_time (), start);
Vgc_elapsed = make_float (XFLOAT_DATA (Vgc_elapsed)
+ EMACS_TIME_TO_DOUBLE (since_start));
}
gcs_done++;