Platform/Memory Reporting: Difference between revisions

Line 59: Line 59:
     }
     }


(Note that SizeOfExcludingThis and SizeOfIncludingThis aren't overrides of methods on a global base class that is common to all reporters. These names are just a convention that is commonly followed. (That said, note that for some classes these methods may be virtual.))
(Note that <tt>SizeOfExcludingThis</tt> and <tt>SizeOfIncludingThis</tt> aren't overrides of methods on a global base class that is common to all reporters. These names are just a convention that is commonly followed. (That said, note that for some classes these methods may be virtual.))


[http://mxr.mozilla.org/mozilla-central/source/mfbt/MemoryReporting.h mfbt/MemoryReporting.h] defines <tt>mozilla::MallocSizeOf</tt> as follows:
[http://mxr.mozilla.org/mozilla-central/source/mfbt/MemoryReporting.h mfbt/MemoryReporting.h] defines <tt>mozilla::MallocSizeOf</tt> as follows:
Confirmed users, Bureaucrats and Sysops emeriti
969

edits