Struct xpcom::interfaces::nsIMemoryReporterManager
[−]
[src]
#[repr(C)]pub struct nsIMemoryReporterManager { /* fields omitted */ }
interface nsIMemoryReporterManager : nsISupports
Methods
impl nsIMemoryReporterManager
[src]
pub fn coerce<T: nsIMemoryReporterManagerCoerce>(&self) -> &T
[src]
Cast this nsIMemoryReporterManager
to one of its base interfaces.
impl nsIMemoryReporterManager
[src]
pub unsafe fn Init(&self) -> nsresult
[src]
[must_use] void init ();
pub unsafe fn RegisterStrongReporter(
&self,
reporter: *const nsIMemoryReporter
) -> nsresult
[src]
&self,
reporter: *const nsIMemoryReporter
) -> nsresult
void registerStrongReporter (in nsIMemoryReporter reporter);
pub unsafe fn RegisterStrongAsyncReporter(
&self,
reporter: *const nsIMemoryReporter
) -> nsresult
[src]
&self,
reporter: *const nsIMemoryReporter
) -> nsresult
void registerStrongAsyncReporter (in nsIMemoryReporter reporter);
pub unsafe fn RegisterWeakReporter(
&self,
reporter: *const nsIMemoryReporter
) -> nsresult
[src]
&self,
reporter: *const nsIMemoryReporter
) -> nsresult
void registerWeakReporter (in nsIMemoryReporter reporter);
pub unsafe fn RegisterWeakAsyncReporter(
&self,
reporter: *const nsIMemoryReporter
) -> nsresult
[src]
&self,
reporter: *const nsIMemoryReporter
) -> nsresult
void registerWeakAsyncReporter (in nsIMemoryReporter reporter);
pub unsafe fn UnregisterStrongReporter(
&self,
reporter: *const nsIMemoryReporter
) -> nsresult
[src]
&self,
reporter: *const nsIMemoryReporter
) -> nsresult
void unregisterStrongReporter (in nsIMemoryReporter reporter);
pub unsafe fn UnregisterWeakReporter(
&self,
reporter: *const nsIMemoryReporter
) -> nsresult
[src]
&self,
reporter: *const nsIMemoryReporter
) -> nsresult
void unregisterWeakReporter (in nsIMemoryReporter reporter);
pub unsafe fn BlockRegistrationAndHideExistingReporters(&self) -> nsresult
[src]
void blockRegistrationAndHideExistingReporters ();
pub unsafe fn UnblockRegistrationAndRestoreOriginalReporters(&self) -> nsresult
[src]
void unblockRegistrationAndRestoreOriginalReporters ();
pub unsafe fn RegisterStrongReporterEvenIfBlocked(
&self,
aReporter: *const nsIMemoryReporter
) -> nsresult
[src]
&self,
aReporter: *const nsIMemoryReporter
) -> nsresult
void registerStrongReporterEvenIfBlocked (in nsIMemoryReporter aReporter);
pub unsafe fn GetReports(
&self,
handleReport: *const nsIHandleReportCallback,
handleReportData: *const nsISupports,
finishReporting: *const nsIFinishReportingCallback,
finishReportingData: *const nsISupports,
anonymize: bool
) -> nsresult
[src]
&self,
handleReport: *const nsIHandleReportCallback,
handleReportData: *const nsISupports,
finishReporting: *const nsIFinishReportingCallback,
finishReportingData: *const nsISupports,
anonymize: bool
) -> nsresult
void getReports (in nsIHandleReportCallback handleReport, in nsISupports handleReportData, in nsIFinishReportingCallback finishReporting, in nsISupports finishReportingData, in boolean anonymize);
pub unsafe fn GetReportsExtended(
&self,
handleReport: *const nsIHandleReportCallback,
handleReportData: *const nsISupports,
finishReporting: *const nsIFinishReportingCallback,
finishReportingData: *const nsISupports,
anonymize: bool,
minimizeMemoryUsage: bool,
DMDDumpIdent: &nsAString
) -> nsresult
[src]
&self,
handleReport: *const nsIHandleReportCallback,
handleReportData: *const nsISupports,
finishReporting: *const nsIFinishReportingCallback,
finishReportingData: *const nsISupports,
anonymize: bool,
minimizeMemoryUsage: bool,
DMDDumpIdent: &nsAString
) -> nsresult
[noscript] void getReportsExtended (in nsIHandleReportCallback handleReport, in nsISupports handleReportData, in nsIFinishReportingCallback finishReporting, in nsISupports finishReportingData, in boolean anonymize, in boolean minimizeMemoryUsage, in AString DMDDumpIdent);
pub unsafe fn EndReport(&self) -> nsresult
[src]
[noscript] void endReport ();
pub unsafe fn GetVsize(&self, aVsize: *mut int64_t) -> nsresult
[src]
[must_use] readonly attribute int64_t vsize;
pub unsafe fn GetVsizeMaxContiguous(
&self,
aVsizeMaxContiguous: *mut int64_t
) -> nsresult
[src]
&self,
aVsizeMaxContiguous: *mut int64_t
) -> nsresult
[must_use] readonly attribute int64_t vsizeMaxContiguous;
pub unsafe fn GetResident(&self, aResident: *mut int64_t) -> nsresult
[src]
[must_use] readonly attribute int64_t resident;
pub unsafe fn GetResidentFast(&self, aResidentFast: *mut int64_t) -> nsresult
[src]
[must_use] readonly attribute int64_t residentFast;
pub unsafe fn GetResidentPeak(&self, aResidentPeak: *mut int64_t) -> nsresult
[src]
[must_use] readonly attribute int64_t residentPeak;
pub unsafe fn GetResidentUnique(
&self,
aResidentUnique: *mut int64_t
) -> nsresult
[src]
&self,
aResidentUnique: *mut int64_t
) -> nsresult
[must_use] readonly attribute int64_t residentUnique;
pub unsafe fn GetHeapAllocated(&self, aHeapAllocated: *mut int64_t) -> nsresult
[src]
[must_use] readonly attribute int64_t heapAllocated;
pub unsafe fn GetHeapOverheadFraction(
&self,
aHeapOverheadFraction: *mut int64_t
) -> nsresult
[src]
&self,
aHeapOverheadFraction: *mut int64_t
) -> nsresult
[must_use] readonly attribute int64_t heapOverheadFraction;
pub unsafe fn GetJSMainRuntimeGCHeap(
&self,
aJSMainRuntimeGCHeap: *mut int64_t
) -> nsresult
[src]
&self,
aJSMainRuntimeGCHeap: *mut int64_t
) -> nsresult
[must_use] readonly attribute int64_t JSMainRuntimeGCHeap;
pub unsafe fn GetJSMainRuntimeTemporaryPeak(
&self,
aJSMainRuntimeTemporaryPeak: *mut int64_t
) -> nsresult
[src]
&self,
aJSMainRuntimeTemporaryPeak: *mut int64_t
) -> nsresult
[must_use] readonly attribute int64_t JSMainRuntimeTemporaryPeak;
pub unsafe fn GetJSMainRuntimeCompartmentsSystem(
&self,
aJSMainRuntimeCompartmentsSystem: *mut int64_t
) -> nsresult
[src]
&self,
aJSMainRuntimeCompartmentsSystem: *mut int64_t
) -> nsresult
[must_use] readonly attribute int64_t JSMainRuntimeCompartmentsSystem;
pub unsafe fn GetJSMainRuntimeCompartmentsUser(
&self,
aJSMainRuntimeCompartmentsUser: *mut int64_t
) -> nsresult
[src]
&self,
aJSMainRuntimeCompartmentsUser: *mut int64_t
) -> nsresult
[must_use] readonly attribute int64_t JSMainRuntimeCompartmentsUser;
pub unsafe fn GetImagesContentUsedUncompressed(
&self,
aImagesContentUsedUncompressed: *mut int64_t
) -> nsresult
[src]
&self,
aImagesContentUsedUncompressed: *mut int64_t
) -> nsresult
[must_use] readonly attribute int64_t imagesContentUsedUncompressed;
pub unsafe fn GetStorageSQLite(&self, aStorageSQLite: *mut int64_t) -> nsresult
[src]
[must_use] readonly attribute int64_t storageSQLite;
pub unsafe fn GetLowMemoryEventsVirtual(
&self,
aLowMemoryEventsVirtual: *mut int64_t
) -> nsresult
[src]
&self,
aLowMemoryEventsVirtual: *mut int64_t
) -> nsresult
[must_use] readonly attribute int64_t lowMemoryEventsVirtual;
pub unsafe fn GetLowMemoryEventsPhysical(
&self,
aLowMemoryEventsPhysical: *mut int64_t
) -> nsresult
[src]
&self,
aLowMemoryEventsPhysical: *mut int64_t
) -> nsresult
[must_use] readonly attribute int64_t lowMemoryEventsPhysical;
pub unsafe fn GetGhostWindows(&self, aGhostWindows: *mut int64_t) -> nsresult
[src]
[must_use] readonly attribute int64_t ghostWindows;
pub unsafe fn GetPageFaultsHard(
&self,
aPageFaultsHard: *mut int64_t
) -> nsresult
[src]
&self,
aPageFaultsHard: *mut int64_t
) -> nsresult
[must_use] readonly attribute int64_t pageFaultsHard;
pub unsafe fn GetHasMozMallocUsableSize(&self) -> bool
[src]
[infallible] readonly attribute boolean hasMozMallocUsableSize;
pub unsafe fn GetIsDMDEnabled(&self) -> bool
[src]
[infallible] readonly attribute boolean isDMDEnabled;
pub unsafe fn GetIsDMDRunning(&self) -> bool
[src]
[infallible] readonly attribute boolean isDMDRunning;
pub unsafe fn GetHeapAllocatedAsync(
&self,
callback: *const nsIHeapAllocatedCallback
) -> nsresult
[src]
&self,
callback: *const nsIHeapAllocatedCallback
) -> nsresult
[must_use] void getHeapAllocatedAsync (in nsIHeapAllocatedCallback callback);
pub unsafe fn MinimizeMemoryUsage(
&self,
callback: *const nsIRunnable
) -> nsresult
[src]
&self,
callback: *const nsIRunnable
) -> nsresult
[must_use] void minimizeMemoryUsage (in nsIRunnable callback);
pub unsafe fn SizeOfTab(
&self,
window: *const mozIDOMWindowProxy,
jsObjectsSize: *mut int64_t,
jsStringsSize: *mut int64_t,
jsOtherSize: *mut int64_t,
domSize: *mut int64_t,
styleSize: *mut int64_t,
otherSize: *mut int64_t,
totalSize: *mut int64_t,
jsMilliseconds: *mut c_double,
nonJSMilliseconds: *mut c_double
) -> nsresult
[src]
&self,
window: *const mozIDOMWindowProxy,
jsObjectsSize: *mut int64_t,
jsStringsSize: *mut int64_t,
jsOtherSize: *mut int64_t,
domSize: *mut int64_t,
styleSize: *mut int64_t,
otherSize: *mut int64_t,
totalSize: *mut int64_t,
jsMilliseconds: *mut c_double,
nonJSMilliseconds: *mut c_double
) -> nsresult
[must_use] void sizeOfTab (in mozIDOMWindowProxy window, out int64_t jsObjectsSize, out int64_t jsStringsSize, out int64_t jsOtherSize, out int64_t domSize, out int64_t styleSize, out int64_t otherSize, out int64_t totalSize, out double jsMilliseconds, out double nonJSMilliseconds);
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIMemoryReporterManager
[src]
const IID: nsIID
IID: nsIID = nsID(697849677, 35219, 16506, [177, 165, 138, 215, 65, 118, 83, 225])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[src]
Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more
impl RefCounted for nsIMemoryReporterManager
[src]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIMemoryReporterManager
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.