Module Values.FrameMetricSource

The frame name, metric type, and thread states. These are used to derive the value of the metric for the frame.

Sourcetype nonrec t = {
  1. frameName : String_.t;
    (*

    Name of the method common across the multiple occurrences of a frame in an application profile.

    *)
  2. threadStates : ThreadStates.t;
    (*

    List of application runtime thread states used to get the counts for a frame a derive a metric value.

    *)
  3. type_ : MetricType.t;
    (*

    A type of aggregation that specifies how a metric for a frame is analyzed. The supported value AggregatedRelativeTotalTime is an aggregation of the metric value for one frame that is calculated across the occurrences of all frames in a profile.

    *)
}
Sourceval context_ : string
Sourceval make : frameName:String_.t -> threadStates:ThreadStates.t -> type_:MetricType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of String_.t ] list | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t