Skip to content

FrameMetric

Source code in docs_src/capo_codeguruprofiler/types/frame_metric.py
class FrameMetric(TypedDict, closed=True):
    frame_name: "str"
    """<p> Name of the method common across the multiple occurrences of a frame in an application profile.</p>"""
    type: "capo_codeguruprofiler.types.metric_type.MetricType"
    """<p> A type of aggregation that specifies how a metric for a frame is analyzed. The supported value <code>AggregatedRelativeTotalTime</code> is an aggregation of the metric value for one frame that is calculated across the occurrences of all frames in a profile. </p>"""
    thread_states: "capo_codeguruprofiler.types.thread_states.ThreadStates"
    """<p>List of application runtime thread states used to get the counts for a frame a derive a metric value.</p>"""

frame_name instance-attribute

frame_name: str

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

thread_states instance-attribute

thread_states: ThreadStates

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

type instance-attribute

type: MetricType

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.