Mercurial > hg > xemacs-beta
annotate info/dir @ 5158:9e0b43d3095c
more cleanups to object-memory-usage stuff
-------------------- ChangeLog entries follow: --------------------
lisp/ChangeLog addition:
2010-03-19 Ben Wing <ben@xemacs.org>
* diagnose.el (show-object-memory-usage-stats):
Rewrite to take into account non-lisp-storage statistics
returned by garbage-collect-1 and friends.
src/ChangeLog addition:
2010-03-19 Ben Wing <ben@xemacs.org>
* alloc.c:
* alloc.c (struct):
* alloc.c (tick_lrecord_stats):
* alloc.c (gc_sweep_1):
* alloc.c (finish_object_memory_usage_stats):
* alloc.c (object_memory_usage_stats):
* alloc.c (compute_memusage_stats_length):
Call new memory-usage mechanism at sweep time to compute extra
memory utilization for all objects. Add up the values element-by-
element to get an aggregrate set of statistics, where each is the
sum of the values of a single statistic across different objects
of the same type. At end of sweep time, call
finish_object_memory_usage_stats() to add up all the aggreggrate
stats that are related to non-Lisp memory storage to compute
a single value, and add it to the list of values returned by
`garbage-collect' and `object-memory-usage-stats'.
* buffer.c (compute_buffer_text_usage):
Don't crash on buffers without text (killed buffers?) and don't
double-count indirect buffers.
* elhash.c:
* elhash.c (hash_table_objects_create):
* elhash.c (vars_of_elhash):
* symsinit.h:
Add memory-usage method to count the size of `hentries'.
* emacs.c (main_1):
Call new functions in elhash.c, frame.c at init.
* frame.c:
* frame.c (compute_frame_usage):
* frame.c (frame_memory_usage):
* frame.c (frame_objects_create):
* symsinit.h:
Add memory-usage method to count gutter display structures,
subwindow exposures.
* gc.c (gc_finish):
* lisp.h:
Declare finish_object_memory_usage_stats(), call it in gc_finish().
* lrecord.h (struct lrecord_implementation):
* lrecord.h (INIT_MEMORY_USAGE_STATS):
New value in implementation struct to track number of non-Lisp-memory
statistics. Computed in alloc.c.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Fri, 19 Mar 2010 14:47:44 -0500 |
parents | c2580215c222 |
children |
rev | line source |
---|---|
428 | 1 -*- Text -*- |
2 | |
3 This is the file .../info/dir, which contains the topmost node of the Info | |
4 hierarchy. The first time you invoke Info you start off looking at that node, | |
5 which is (dir)Top. | |
6 | |
7 Rather than adding new nodes to this directory (and this file) it is a better | |
8 idea to put them in a site-local directory, and then configure info to search | |
9 in that directory as well. That way, you won't have to re-edit this file when | |
10 a new release of the editor comes out. | |
11 | |
12 For example, you could add this code to .../lisp/site-start.el, which is | |
13 loaded before ~/.emacs each time the editor starts up: | |
14 | |
15 ;; find local info nodes | |
16 (setq Info-directory-list | |
17 (append Info-directory-list '("/private/info/"))) | |
18 | |
19 Then, when you enter info, a dir file like this one will be automatically | |
20 created and saved (provided you have write access to the directory). The | |
21 contents of that file "/private/info/dir" will be appended to the contents of | |
22 this file. | |
23 | |
24 | |
25 File: dir Node: Top This is the top of the INFO tree | |
26 | |
27 This is Info, the online documentation browsing system. | |
28 This page (the Directory node) gives a menu of major topics. | |
29 | |
1092 | 30 button2 on a highlighted word follows that cross-reference. |
428 | 31 button3 anywhere brings up a menu of commands. |
32 ? lists additional keyboard commands. | |
33 h invokes the Info tutorial. | |
34 | |
35 * Menu: | |
36 | |
697 | 37 XEmacs 21.5 |
428 | 38 =========== |
2609 | 39 * XEmacs: (xemacs). XEmacs Editor. |
40 * Lispref: (lispref). XEmacs Lisp Reference Manual. | |
41 * Intro: (new-users-guide). Introduction to the XEmacs Editor. | |
42 * FAQ: (xemacs-faq). XEmacs FAQ. | |
43 * Info: (info). Documentation browsing system. | |
44 * Internals: (internals). XEmacs Internals Manual. | |
45 | |
428 | 46 |
462 | 47 Other Documentation: |
428 | 48 |
2609 | 49 * Common Lisp: (cl). XEmacs Common Lisp emulation package. |
50 * Customizations: (custom). Customization Library. | |
51 * Emodules: (emodules). XEmacs dynamically loadable module support. | |
52 * External Widget: (external-widget). External Client Widget. | |
53 * Standards: (standards). GNU coding standards. | |
54 * Term mode: (term). XEmacs Terminal Emulator Mode. | |
55 * Termcap: (termcap). Termcap library of the GNU system. | |
56 * Texinfo: (texinfo). The GNU documentation format. | |
57 * Widgets: (widget). The Emacs Widget Library. | |
428 | 58 |