Mercurial > hg > xemacs-beta
annotate src/s/sco7.h @ 5167:e374ea766cc1
clean up, rearrange allocation statistics code
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-03-21 Ben Wing <ben@xemacs.org>
* alloc.c:
* alloc.c (assert_proper_sizing):
* alloc.c (c_readonly):
* alloc.c (malloced_storage_size):
* alloc.c (fixed_type_block_overhead):
* alloc.c (lisp_object_storage_size):
* alloc.c (inc_lrecord_stats):
* alloc.c (dec_lrecord_stats):
* alloc.c (pluralize_word):
* alloc.c (object_memory_usage_stats):
* alloc.c (Fobject_memory_usage):
* alloc.c (compute_memusage_stats_length):
* alloc.c (disksave_object_finalization_1):
* alloc.c (Fgarbage_collect):
* mc-alloc.c:
* mc-alloc.c (mc_alloced_storage_size):
* mc-alloc.h:
No functionality change here. Collect the allocations-statistics
code that was scattered throughout alloc.c into one place. Add
remaining section headings so that all sections have headings
clearly identifying the start of the section and its purpose.
Expose mc_alloced_storage_size() even when not MEMORY_USAGE_STATS;
this fixes build problems and is related to the export of
lisp_object_storage_size() and malloced_storage_size() when
non-MEMORY_USAGE_STATS in the previous change set.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Sun, 21 Mar 2010 04:41:49 -0500 |
parents | 3ee2bdf020bc |
children | ba07c880114a |
rev | line source |
---|---|
4987
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
1 /* Definitions file for XEmacs running on SCO System V release 4.2 |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
2 Copyright (C) 1999 Ron Record |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
3 |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
4 This file is part of XEmacs. |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
5 |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
6 XEmacs is free software; you can redistribute it and/or modify it |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
7 under the terms of the GNU General Public License as published by the |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
8 Free Software Foundation; either version 2, or (at your option) any |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
9 later version. |
398 | 10 |
4987
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
14 for more details. |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
15 |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
16 You should have received a copy of the GNU General Public License |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
17 along with XEmacs; see the file COPYING. If not, write to |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
18 the Free Software Foundation, Inc., 51 Franklin St. - Fifth Floor, |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
19 Boston, MA 02110-1301, USA. */ |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
20 |
3ee2bdf020bc
Add GPL v2 or later header to s/sco7.h.
Jerry James <james@xemacs.org>
parents:
398
diff
changeset
|
21 /* Synched up with: FSF 19.31. */ |
398 | 22 |
23 #include "usg5-4.h" | |
24 | |
25 /* Motif needs -lgen. */ | |
26 #undef LIBS_SYSTEM | |
27 #define LIBS_SYSTEM "-lsocket -lnsl -lelf -lgen" | |
28 | |
29 #define VFORK_RETURN_TYPE pid_t | |
30 | |
31 /* XEmacs change: communicate to m/intel386.h */ | |
32 #define USG5_4_2 |