Struct xpcom::interfaces::nsIPerformanceSnapshot
[−]
[src]
#[repr(C)]pub struct nsIPerformanceSnapshot { /* fields omitted */ }
interface nsIPerformanceSnapshot : nsISupports
/**
* A snapshot of the performance data of the process.
*/
Methods
impl nsIPerformanceSnapshot
[src]
pub fn coerce<T: nsIPerformanceSnapshotCoerce>(&self) -> &T
[src]
Cast this nsIPerformanceSnapshot
to one of its base interfaces.
impl nsIPerformanceSnapshot
[src]
pub unsafe fn GetComponentsData(
&self,
_retval: *mut *const nsIArray
) -> nsresult
[src]
&self,
_retval: *mut *const nsIArray
) -> nsresult
/**
* Data on all individual components.
*/
nsIArray getComponentsData ();
pub unsafe fn GetProcessData(
&self,
_retval: *mut *const nsIPerformanceStats
) -> nsresult
[src]
&self,
_retval: *mut *const nsIPerformanceStats
) -> nsresult
/**
* Information on the process itself.
*
* This contains the total amount of time spent executing JS code,
* the total amount of time spent waiting for system calls while
* executing JS code, the total amount of time performing blocking
* inter-process calls, etc.
*/
nsIPerformanceStats getProcessData ();
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 nsIPerformanceSnapshot
[src]
const IID: nsIID
IID: nsIID = nsID(332145499, 29598, 18064, [176, 227, 216, 156, 190, 3, 106, 147])
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 nsIPerformanceSnapshot
[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 nsIPerformanceSnapshot
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.