Class ProfilerDatabaseEventSample

Later aliased as ProfilerDatabase::EventSample. The EventSample class represents a recorded call of an event, with given time and duration and optionally some extra attributes.

Constructors

Properties

_allocationsCount: number
_deallocationsCount: number
_eventIdentifier: ProfilerDatabaseIdentifier
_nanosecondsBegin: number
_nanosecondsEnd: number

Accessors

  • get allocationsCount(): number
  • Number of memory allocations that happened when this event sample was active. Includes allocations that happened in child samples. Negative number indicates unknown amount.

    Returns number

  • set allocationsCount(value): void
  • Parameters

    • value: number

    Returns void

  • get deallocationsCount(): number
  • Number of memory deallocations that happened when this event sample was active. Includes allocations that happened in child samples. Negative number indicates unknown amount.

    Returns number

  • set deallocationsCount(value): void
  • Parameters

    • value: number

    Returns void

  • get nanosecondsBegin(): number
  • Time when the sampled event call started defined as nanoseconds after origin specified by ProfilerRuntime.

    Returns number

  • set nanosecondsBegin(value): void
  • Parameters

    • value: number

    Returns void

  • get nanosecondsEnd(): number
  • Time when the sampled event call ended defined as nanoseconds after origin specified by ProfilerRuntime.

    Returns number

  • set nanosecondsEnd(value): void
  • Parameters

    • value: number

    Returns void

Methods