gecko-dev/xpcom
brendan%mozilla.org 55ce126995 - Remove <unistd.h> include from bloatblame, it's no longer needed and the link(2) prototype it drags in was causing warnings whenever I used a local variable named 'link'.
- Use uint32 for all quantities, and double for all differences, so that we can overflow without breaking deltas such as (busy == allocs - frees).  This doesn't help sorting, however: if one of the sort keys has overflowed past 0 just a bit, while the other is a very large unsigned number, beware.

- Separate graph link (half an edge, structurally speaking -- no per-edge stats) from graph edge, so that an edge is two links and some stats.  This avoids bloat and copying in connect_nodes (which is soon to become generic and move to tmreader.[ch]).

- Factor data structures better: we now have {allocs,frees} x {bytes,calls} x {direct, total}, declaring the second set as struct tmallcounts and the third as tmcounts.  So, for example, total number of calls to allocators would be allocs.calls.total; bytes freed directly by a graphnode (library, component, or method) would be frees.bytes.direct.

- Teach tmreader_eventloop about 'F' (TM_EVENT_FREE) events: it now updates the direct free byte and call counts for a method, its component, and its library when it reads the event.  Of course, bloatblame ignores this info, because it is concerned only with bloat (total memory allocated).

- Right-align numbers in the first (trace-malloc stats) table.
2000-07-26 00:24:08 +00:00
..
appshell Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
base - Remove <unistd.h> include from bloatblame, it's no longer needed and the link(2) prototype it drags in was causing warnings whenever I used a local variable named 'link'. 2000-07-26 00:24:08 +00:00
build Registering nsIErrorService 2000-07-22 05:48:04 +00:00
components Turn off sole line output in opt builds by wrapping in DEBUG macro. 2000-07-25 23:54:12 +00:00
doc Clean up stack trace horribly mangled by some editor. Documentation changes only (not part of build). 2000-07-14 01:41:11 +00:00
ds Bug 40027, reads past buffer in nsString::ToCString, r,a=waterson 2000-07-26 00:05:55 +00:00
glue Make XPCOM_CHECK_THREADSAFE env. variable to actually be useful 2000-07-05 22:58:28 +00:00
io 1. Fixed ResolvePathAndSpec - if directories did not exist, the vRefNum and dirID were getting zeroed out. If the path was relative this was wrong. 2. Fixed MoveCopy - If nsnull was passed as newName, which is valid, new name was uninitialized garbage. r-dougt 2000-07-24 20:05:54 +00:00
libxpt/xptcall adding back for doc purpose 1999-06-12 08:08:15 +00:00
macbuild Added nsIErrorService to build. 2000-07-22 05:46:39 +00:00
proxy 44665 2000-07-06 20:56:24 +00:00
reflect Bug 40748 - officially kill the SUNWspro4.2 build. r=cls, a=waterson 2000-07-19 19:53:01 +00:00
remote ** not part of tbox build ** 2000-07-15 01:37:28 +00:00
sample Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
string Bug 40027, reads past buffer in nsString::ToCString, r,a=waterson 2000-07-26 00:05:55 +00:00
tests patches from madams@janna.com to build xpconnect standalone. bug 42026. r=leaf@mozilla.org a=brendan@mozilla.org 2000-07-19 03:36:27 +00:00
threads Debuggin code 2000-07-07 04:17:24 +00:00
tools Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
typelib Fix yet another instance of the qsort bug that was biting OS/2 only. See explanation in cvs log comment for revision 1.25 of xpt_link.c. Thanks to Javier Pedemonte <pedemont@us.ibm.com>. a=brendan@mozilla.org 2000-07-07 07:32:50 +00:00
.cvsignore Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
Makefile.in Finally following warren's lead from "last year", the libs phase has been removed from the build. Directories had to be ordered and in some cases, traversed after a subsequent module was built. 2000-03-02 13:29:03 +00:00
makefile.win Adding a new flag to the Win32 build system. Set DISABLE_TESTS=1 to skip 2000-02-25 04:12:40 +00:00