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]

[src]

Cast this nsIPerformanceSnapshot to one of its base interfaces.

impl nsIPerformanceSnapshot
[src]

[src]

/**
   * Data on all individual components.
   */

nsIArray getComponentsData ();

[src]

/**
   * 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>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIPerformanceSnapshot
[src]

IID: nsIID = nsID(332145499, 29598, 18064, [176, 227, 216, 156, 190, 3, 106, 147])

[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]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIPerformanceSnapshot
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.