Commit Graph
5 Commits
Author SHA1 Message Date
Julian Seward c3547e1c36 Bug 1341255 - Profiler tidyups: remove StackEntry, rename ProfileEntry to ProfileBufferEntry (part 2: rename ProfileEntry). r=n.nethercote. 2017-02-23 23:05:23 +01:00
Nicholas Nethercote cda6ae3c7e Bug 1337189 (part 21) - Remove Sampler::SizeOfIncludingThis(). r=mstange. 2017-02-09 15:00:29 +11:00
Nicholas Nethercote 718d47d778 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
2017-01-30 12:37:26 +11:00
Nicholas Nethercote f73640f6b8 Bug 1334466 (part 2) - Merge Sampler and GeckoSampler. r=mstange.
There's no point having them as separate classes. This removes the need for
some virtual functions, too.
2017-01-25 14:34:25 +11:00
Benoit Girard e3334d416c Bug 1178892 - Split the profiler into Core & Gecko files and break apart monolithic headers. r=mstange 2015-06-30 15:03:45 -04:00