changeset 16001:36d2c4a8e064

(Fgarbage_collect): Report used and free intervals.
author Richard M. Stallman <rms@gnu.org>
date Sat, 31 Aug 1996 21:53:53 +0000
parents b5ecd5022991
children c8cbde1d3f11
files src/alloc.c
diffstat 1 files changed, 13 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/alloc.c	Sat Aug 31 20:13:29 1996 +0000
+++ b/src/alloc.c	Sat Aug 31 21:53:53 1996 +0000
@@ -1450,7 +1450,7 @@
 Returns info on amount of space in use:\n\
  ((USED-CONSES . FREE-CONSES) (USED-SYMS . FREE-SYMS)\n\
   (USED-MARKERS . FREE-MARKERS) USED-STRING-CHARS USED-VECTOR-SLOTS\n\
-  (USED-FLOATS . FREE-FLOATS))\n\
+  (USED-FLOATS . FREE-FLOATS) (USED-INTERVALS . FREE-INTERVALS))\n\
 Garbage collection happens automatically if you cons more than\n\
 `gc-cons-threshold' bytes of Lisp data since previous garbage collection.")
   ()
@@ -1625,15 +1625,21 @@
 				     make_number (total_free_markers)),
 			      Fcons (make_number (total_string_size),
 				     Fcons (make_number (total_vector_size),
-
+	 Fcons (Fcons
 #ifdef LISP_FLOAT_TYPE
-					    Fcons (Fcons (make_number (total_floats),
-							  make_number (total_free_floats)),
-						   Qnil)
+		(make_number (total_floats),
+		 make_number (total_free_floats)),
 #else /* not LISP_FLOAT_TYPE */
-					    Qnil
+		(make_number (0), make_number (0)),
 #endif /* not LISP_FLOAT_TYPE */
-					    )))));
+		Fcons (Fcons
+#ifdef USE_TEXT_PROPERTIES
+		       (make_number (total_intervals),
+			make_number (total_free_intervals)),
+#else /* not USE_TEXT_PROPERTIES */
+		       (make_number (0), make_number (0)),
+#endif /* not USE_TEXT_PROPERTIES */
+		       Qnil)))))));
 }
 
 #if 0