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

    Class ProfilerStatMetadata

    Basic metadata for profiler stat.

    Index
    _group: string
    _name: string
    _unit: string
    • get group(): string

      Name of a group used for joint display of stat with other stats. All stats with the same group name should use the same unit and it should be meaningful to add their values together. An example is "Successful HTTP requests" and "Failed HTTP requests"

      • we can display them together in one graph and adding them together gives us the total amount of HTTP requests.

      Returns string

    • set group(value: string): void

      Parameters

      • value: string

      Returns void

    • get name(): string

      User-friendly name of the stat.

      Returns string

    • set name(value: string): void

      Parameters

      • value: string

      Returns void

    • get unit(): string

      Unit of measurement that will be displayed somewhere near the data to further characterize the meaning of the data.

      Returns string

    • set unit(value: string): void

      Parameters

      • value: string

      Returns void