RSX Code Reference
    Preparing search index...
    • rsx
    • ProfilerDatabaseEventSample

    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.

    Index
    _allocationsCount: number
    _deallocationsCount: number
    _eventIdentifier: ProfilerDatabaseIdentifier
    _nanosecondsBegin: number
    _nanosecondsEnd: number
    • 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: number): 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: number): 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: number): 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: number): void

      Parameters

      • value: number

      Returns void