diff options
| author | Paul Eggert | 2012-07-29 09:00:35 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-07-29 09:00:35 -0700 |
| commit | 387d4d92bca5cf7f0eb14c2b917773dde7b06041 (patch) | |
| tree | 28fa15f1479d9e0031c8e3e14cd79a7e4cea8ca6 /src/alloc.c | |
| parent | 8519232d51327515d031273376410441fc5d0280 (diff) | |
| download | emacs-387d4d92bca5cf7f0eb14c2b917773dde7b06041.tar.gz emacs-387d4d92bca5cf7f0eb14c2b917773dde7b06041.zip | |
* alloc.c (Fgarbage_collect): Indent as per usual Emacs style.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/alloc.c b/src/alloc.c index 625acad991c..7680b3a2d84 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -5706,9 +5706,9 @@ See Info node `(elisp)Garbage Collection'. */) | |||
| 5706 | #if GC_MARK_STACK == GC_USE_GCPROS_CHECK_ZOMBIES | 5706 | #if GC_MARK_STACK == GC_USE_GCPROS_CHECK_ZOMBIES |
| 5707 | { | 5707 | { |
| 5708 | /* Compute average percentage of zombies. */ | 5708 | /* Compute average percentage of zombies. */ |
| 5709 | double nlive = | 5709 | double nlive = |
| 5710 | total_conses + total_symbols + total_markers + total_strings | 5710 | (total_conses + total_symbols + total_markers + total_strings |
| 5711 | + total_vectors + total_floats + total_intervals + total_buffers; | 5711 | + total_vectors + total_floats + total_intervals + total_buffers); |
| 5712 | 5712 | ||
| 5713 | avg_live = (avg_live * ngcs + nlive) / (ngcs + 1); | 5713 | avg_live = (avg_live * ngcs + nlive) / (ngcs + 1); |
| 5714 | max_live = max (nlive, max_live); | 5714 | max_live = max (nlive, max_live); |
| @@ -5727,9 +5727,11 @@ See Info node `(elisp)Garbage Collection'. */) | |||
| 5727 | 5727 | ||
| 5728 | /* Accumulate statistics. */ | 5728 | /* Accumulate statistics. */ |
| 5729 | if (FLOATP (Vgc_elapsed)) | 5729 | if (FLOATP (Vgc_elapsed)) |
| 5730 | Vgc_elapsed = make_float | 5730 | { |
| 5731 | (XFLOAT_DATA (Vgc_elapsed) + EMACS_TIME_TO_DOUBLE | 5731 | EMACS_TIME since_start = sub_emacs_time (current_emacs_time (), start); |
| 5732 | (sub_emacs_time (current_emacs_time (), start))); | 5732 | Vgc_elapsed = make_float (XFLOAT_DATA (Vgc_elapsed) |
| 5733 | + EMACS_TIME_TO_DOUBLE (since_start)); | ||
| 5734 | } | ||
| 5733 | 5735 | ||
| 5734 | gcs_done++; | 5736 | gcs_done++; |
| 5735 | 5737 | ||