Struct xpcom::interfaces::nsIPerformanceGroupDetails [] [src]

#[repr(C)]
pub struct nsIPerformanceGroupDetails { /* fields omitted */ }

interface nsIPerformanceGroupDetails : nsISupports

/**
 * Mechanisms for querying the current process about performance
 * information.
 *
 * JavaScript clients should rather use PerformanceStats.jsm.
 */
/**
 * Identification details for a performance group.
 *
 * A performance group is a set of JavaScript compartments whose
 * performance is observed as a single entity. Typical examples of
 * performance groups: a webpage without its frames, a
 * webpage with all its frames, the entire JS runtime, ...
 */

Methods

impl nsIPerformanceGroupDetails
[src]

[src]

Cast this nsIPerformanceGroupDetails to one of its base interfaces.

impl nsIPerformanceGroupDetails
[src]

[src]

/**
   * An identifier unique to the component.
   *
   * This identifier is somewhat human-readable to aid with debugging,
   * but clients should not rely upon the format.
   */

readonly attribute AString groupId;

[src]

/**
   * A somewhat human-readable name for the component.
   */

readonly attribute AString name;

[src]

/**
   * If the component is code executed in a window, the ID of the topmost
   * outer window (i.e. the tab), otherwise 0.
   */

readonly attribute uint64_t windowId;

[src]

/**
   * `true` if this component is executed with system privileges
   * (e.g. the platform itself), `false` otherwise
   * (e.g. webpages).
   */

readonly attribute bool isSystem;

[src]

/**
   * The process running this group.
   */

readonly attribute unsigned long long processId;

[src]

/**
   * `true` if the code is executed in a content process, `false` otherwise.
   */

readonly attribute bool isContentProcess;

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

IID: nsIID = nsID(2571916990, 37786, 20256, [131, 100, 18, 79, 100, 34, 216, 106])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIPerformanceGroupDetails
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.