gecko-dev/tools/profiler/public
Nicholas Nethercote d6624d0e50 Bug 816598 - Add a memory reporter for the Gecko Profiler. r=mstange,jseward.
It's fairly straightforward, and measures the important parts of:

- Sampler, PseudoStack, ProfileBuffer, ThreadInfo.

- LUL, PriMap, SecMap

Coverage isn't perfect, but it gets the major things I found via DMD on Linux.

Example output in about:memory:

├──151.21 MB (49.73%) -- profiler
│  ├──141.49 MB (46.53%) ── lul
│  └────9.72 MB (03.20%) ── sampler

--HG--
extra : rebase_source : 67d2ada42aead43f68f5100a08204a1d1f1cfceb
2017-01-30 12:37:26 +11:00
..
GeckoProfiler.h Bug 816598 - Add a memory reporter for the Gecko Profiler. r=mstange,jseward. 2017-01-30 12:37:26 +11:00
ProfileGatherer.h Bug 1334466 (part 2) - Merge Sampler and GeckoSampler. r=mstange. 2017-01-25 14:34:25 +11:00
ProfilerBacktrace.h
ProfilerMarkers.h Bug 1317771 (part 1) - Remove SPS_STANDALONE. r=mstange. 2017-01-19 08:06:59 +11:00
PseudoStack.h Bug 816598 - Add a memory reporter for the Gecko Profiler. r=mstange,jseward. 2017-01-30 12:37:26 +11:00
shared-libraries.h Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium. 2017-01-24 14:15:12 +11:00