mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
55ce126995
- 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. |
||
---|---|---|
.. | ||
build | ||
debug/gdb | ||
dreftool | ||
dumpdeps | ||
elf-dynstr-gc | ||
jprof | ||
leaky | ||
performance/layout | ||
project-editor | ||
rb | ||
tests | ||
testserver | ||
tinderbox | ||
trace-malloc | ||
README | ||
trees.pl |
mozilla/tools ============= This directory is for miscellaneous tools associated with mozilla. Table of Contents ================= * cvs.py A python script to checkout trees with multiple threads. Works on Unix and Windows. I have not tested the Mac. With this script, pulls can take five minutes instead of twenty. Of course, this script pounds the cvs server three times as hard, so use it with discretion. * trees.pl (a.k.a moz) A perl script to navigate mozilla source trees. Run trees -h for usage. You will probably need to copy 'trees.pl' into your home directory somewhere (Just be careful to keep it up to date). Wrap 'trees.pl' in a shell alias called 'moz' to let you do things like, moz gecko webshell - cd to webshell directory in gecko tree moz gecko2 - cd to same directory in gecko2 tree moz / - cd to the root of the tree moz -o - cd to the same subdir in the object directory * mozilla/tools/build This directory is for tools that facilitate the building of the mozilla source code (the browser, the sdks, etc.). * mozilla/tools/project-editor CGI interface to Machintosh Project Editor * mozilla/tools/tests <synopsis: write me> * mozilla/tools/tinderbox Scripts associated with the client-side of tinderbox. (scripts to checkout, build, and report the status of the tree to a tinderbox server.)