ericw-tools/qbsp
Tyrann d09b5657f2 [PATCH] qbsp: Fix reporting of peak winding memory use
The number reported for peak memory usage by winding_t structs was not
accurate, due to just using the sizeof(winding_t) for accounting. Track the
_bytes_ used by each type in a separate array. This is pretty much redundant
for everything except windings, but it's the simplest way to implement it for
now.

Also tidied up the verbose memory output a bit - the total column is pretty
useless, so just don't print it. Re-align the other columns and special case
the "Total" line, as only the "Peak Bytes" value is really interesting.

Signed-off-by: Tyrann <tyrann@disenchant.net>
2006-10-02 17:56:34 +09:30
..
brush.c [PATCH] qbsp: Use double-precision floating point 2006-09-16 16:36:16 +09:30
bspfile.c [PATCH] qbsp: Fix cast of data pointer for LoadFile callers 2006-09-16 16:20:56 +09:30
cmdlib.c [PATCH 03/15] qbsp: cmdlib.c statics 2006-09-10 22:45:56 +09:30
csg4.c [PATCH 04/15] qbsp: csg4.c statics 2006-09-10 22:45:57 +09:30
file.c [PATCH 9/9] qbsp: Compile as C code 2006-09-10 17:38:34 +09:30
file.h [PATCH 1/9] qbsp: Replace File class with basic stdio functions 2006-09-10 17:38:30 +09:30
globals.c [PATCH] qbsp: Fix reporting of peak winding memory use 2006-10-02 17:56:34 +09:30
map.c [PATCH] qbsp: Add support for QuArK map files 2006-09-17 21:36:01 +09:30
mathlib.c [PATCH] qbsp: Constify VectorXX functions 2006-09-16 19:37:48 +09:30
merge.c [PATCH 06/15] qbsp: merge.c statics 2006-09-10 22:45:58 +09:30
outside.c [PATCH] qbsp: remove strange comment... 2006-09-16 19:52:36 +09:30
parser.c [PATCH] qbsp: Enable map file parser to return comment tokens 2006-09-16 22:24:09 +09:30
parser.h [PATCH] qbsp: Enable map file parser to return comment tokens 2006-09-16 22:24:09 +09:30
portals.c [PATCH] qbsp: Use double-precision floating point 2006-09-16 16:36:16 +09:30
qbsp.c [PATCH] qbsp: Complete removal of wadlist_t 2006-10-02 14:26:27 +09:30
qbsp.h [PATCH] qbsp: Constify VectorXX functions 2006-09-16 19:37:48 +09:30
solidbsp.c [PATCH] qbsp: Remove unnecessary cast of malloc return value 2006-09-16 16:31:06 +09:30
surfaces.c [PATCH] qbsp: Use double-precision floating point 2006-09-16 16:36:16 +09:30
tjunc.c [PATCH] qbsp: Use double-precision floating point 2006-09-16 16:36:16 +09:30
util.c [PATCH] qbsp: Fix reporting of peak winding memory use 2006-10-02 17:56:34 +09:30
wad.c [PATCH] qbsp: Complete removal of wadlist_t 2006-10-02 14:26:27 +09:30
wad.h [PATCH] qbsp: Complete removal of wadlist_t 2006-10-02 14:26:27 +09:30
warnerr.h [PATCH] qbsp: Add support for QuArK map files 2006-09-17 21:36:01 +09:30
winding.c [PATCH] qbsp: Remove unnecessary casts from AllocMem calls 2006-09-10 20:29:00 +09:30
writebsp.c [PATCH] qbsp: Use double-precision floating point 2006-09-16 16:36:16 +09:30