Module Values.PatternSource

A set of rules used to make a recommendation during an analysis.

Sourcetype nonrec t = {
  1. countersToAggregate : Strings.t option;
    (*

    A list of the different counters used to determine if there is a match.

    *)
  2. description : String_.t option;
    (*

    The description of the recommendation. This explains a potential inefficiency in a profiled application.

    *)
  3. id : String_.t option;
    (*

    The universally unique identifier (UUID) of this pattern.

    *)
  4. name : String_.t option;
    (*

    The name for this pattern.

    *)
  5. resolutionSteps : String_.t option;
    (*

    A string that contains the steps recommended to address the potential inefficiency.

    *)
  6. targetFrames : TargetFrames.t option;
    (*

    A list of frame names that were searched during the analysis that generated a recommendation.

    *)
  7. thresholdPercent : Percentage.t option;
    (*

    The percentage of time an application spends in one method that triggers a recommendation. The percentage of time is the same as the percentage of the total gathered sample counts during analysis.

    *)
}
Sourceval make : ?countersToAggregate:??? -> ?description:??? -> ?id:??? -> ?name:??? -> ?resolutionSteps:??? -> ?targetFrames:??? -> ?thresholdPercent:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Percentage.t | `List of [> `List of [> `String of String_.t ] list | `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