Platform/Memory Reporting: Difference between revisions

Jump to navigation Jump to search
Line 5: Line 5:
== Memory Reporters ==
== Memory Reporters ==


A memory reporter makes one or more memory measurements (a.k.a. reports).  A reporter that only makes a single measurement is called a uni-reporter;  one that makes multiple measurements is called a multi-reporter.
A memory reporter makes one or more memory measurements (a.k.a. reports).


Each reporter implements a <tt>collectReports</tt> function which takes a <tt>nsIMemoryReporterCallback</tt> argument;  for each measurement the reporter must pass in several values, including:
Each reporter implements a <tt>collectReports</tt> function which takes a <tt>nsIMemoryReporterCallback</tt> argument;  for each measurement the reporter must pass in several values, including:
Confirmed users
1,345

edits

Navigation menu