Struct xpcom::interfaces::nsIProfiler [] [src]

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

interface nsIProfiler : nsISupports

Methods

impl nsIProfiler
[src]

[src]

Cast this nsIProfiler to one of its base interfaces.

impl nsIProfiler
[src]

[src]

boolean CanProfile ();

[src]

void StartProfiler (in uint32_t aEntries, in double aInterval, [array, size_is (aFeatureCount)] in string aFeatures, in uint32_t aFeatureCount, [array, size_is (aFilterCount), optional] in string aFilters, [optional] in uint32_t aFilterCount);

[src]

void StopProfiler ();

[src]

boolean IsPaused ();

[src]

void PauseSampling ();

[src]

void ResumeSampling ();

[src]

void AddMarker (in string aMarker);

[src]

string GetProfile ([optional] in double aSinceTime);

[src]

boolean IsActive ();

[src]

/**
   * Returns an array of the features that are supported in this build.
   * Features may vary depending on platform and build flags.
   */

void GetFeatures (out uint32_t aCount, [array, size_is (aCount), retval] out string aFeatures);

[src]

/**
   * Returns an array of all features that are supported by the profiler.
   * The array may contain features that are not supported in this build.
   */

void GetAllFeatures (out uint32_t aCount, [array, size_is (aCount), retval] out string aFeatures);

[src]

/**
   * The starting parameters that were sent to the profiler for sampling.
   * If the profiler is not currently sampling, this will return null.
   */

[noscript] readonly attribute nsIProfilerStartParams startParams;

[src]

void GetBufferInfo (out uint32_t aCurrentPosition, out uint32_t aTotalSize, out uint32_t aGeneration);

[src]

/**
   * Returns the elapsed time, in milliseconds, since the profiler's epoch.
   * The epoch is guaranteed to be constant for the duration of the
   * process, but is otherwise arbitrary.
   */

double getElapsedTime ();

[src]

/**
   * Dump the collected profile to a file.
   */

void dumpProfileToFile (in string aFilename);

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

IID: nsIID = nsID(3939759964, 3598, 20411, [144, 28, 30, 83, 146, 239, 91, 42])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIProfiler
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.