Граф коммитов

25 Коммитов

Автор SHA1 Сообщение Дата
gerv%gerv.net cc323a7cc8 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-25 21:07:34 +00:00
alecf%flett.org bee187bf13 minor warnings cleanup, make a htmlStartTable() method to consolidate some code
not part of the build
2003-06-17 23:01:46 +00:00
timeless%mac.com dec943eb10 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
blythe%netscape.com 00c321d9fb Fix Bug 115189
Trace-Malloc records line number information on platforms which have it.
r=dp sr=alecf
2002-01-09 19:03:01 +00:00
alecf%netscape.com ad08915dd8 better fixes to make bloatblame work on windows 2001-11-15 22:08:03 +00:00
dbaron%fas.harvard.edu 7ea02d75a9 Oops. Backing that out. 2001-11-14 21:44:45 +00:00
dbaron%fas.harvard.edu 783a03054d Add script to diff the output of two files created by NS_TraceMallocDumpAllocations. 2001-11-14 21:42:54 +00:00
brendan%mozilla.org 6bb2c26634 Revise connect_nodes to be tmgraphnode_connect, reusable via tmreader.[ch]. 2000-07-26 02:19:27 +00:00
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
brendan%mozilla.org 02c5512498 Finish factoring tmreader from bloatblame; misc. clenaups (not part of build). 2000-07-21 20:42:15 +00:00
brendan%mozilla.org e419a66c7a First cut at reusable trace-malloc logfile reader, factored from bloatblame. 2000-07-09 08:53:46 +00:00
brendan%mozilla.org ca37059e30 Interim checkin: -u option for unified (-f and standard) output, down/next links for sorted subgraph navigation, some -j (js-mode) support. 2000-06-28 06:42:29 +00:00
brendan%mozilla.org 0cb0663247 Hoist loop invariant. 2000-06-21 18:03:34 +00:00
waterson%netscape.com 259d4d122b Make more portable. 2000-06-01 03:23:19 +00:00
brendan%mozilla.org 67865c1d1d Debloat output by consolidating onmouseovers. 2000-04-27 05:41:59 +00:00
brendan%mozilla.org 36499eb772 Add TraceMalloc* native methods; allow multiple log files per site file. 2000-04-27 04:02:22 +00:00
brendan%mozilla.org 440c791824 Count allocations too; dump nodes ranked by mean allocation size. 2000-04-24 23:52:27 +00:00
shaver%mozilla.org 811f3fafa2 show pointed-to symbol onmouseover, for easier scanning (r=brendan) 2000-04-23 07:13:19 +00:00
brendan%mozilla.org 24509b8291 Add -f function-dump-filename option; try to keep its first table cell of reasonable width without depending on (broken in 4.x) css support. 2000-04-23 05:04:58 +00:00
brendan%mozilla.org 07a7b51820 Comment improvements. 2000-04-22 18:36:10 +00:00
brendan%mozilla.org 3fda61301a Stop component-wise over-totalling madness when JS=>js=>JS=>js. 2000-04-21 21:38:18 +00:00
brendan%mozilla.org 9c63bde8f6 Percent signs after numbers, please\! 2000-04-21 19:05:53 +00:00
brendan%mozilla.org 4bf456462f Optimize total computation, fix visited to be a counter. 2000-04-21 08:47:00 +00:00
brendan%mozilla.org 159f478d0d Fix plib-instead-of-lib->total += type; use int32 for possibly negative values. 2000-04-21 03:01:09 +00:00
brendan%mozilla.org 7de0f8bd21 Add nsTraceMalloc.[ch] and bloatblame.c, not part of build (setenv NS_TRACE_MALLOC to enable here and in xpfe/bootstrap). 2000-04-20 04:55:26 +00:00