Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FrameMetric

import type { FrameMetric } from "https://aws-api.deno.dev/v0.4/services/codeguruprofiler.ts?docs=full";

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

interface FrameMetric {
frameName: string;
threadStates: string[];
type: MetricType;
}

§Properties

§
frameName: string
[src]

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

§
threadStates: string[]
[src]

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

§

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.