public class JobVertexFlameGraphFactory extends Object
Constructor and Description |
---|
JobVertexFlameGraphFactory() |
Modifier and Type | Method and Description |
---|---|
static JobVertexFlameGraph |
createFullFlameGraphFrom(JobVertexThreadInfoStats sample)
Converts
JobVertexThreadInfoStats into a FlameGraph. |
static JobVertexFlameGraph |
createOffCpuFlameGraph(JobVertexThreadInfoStats sample)
Converts
JobVertexThreadInfoStats into a FlameGraph representing blocked (Off-CPU)
threads. |
static JobVertexFlameGraph |
createOnCpuFlameGraph(JobVertexThreadInfoStats sample)
Converts
JobVertexThreadInfoStats into a FlameGraph representing actively running
(On-CPU) threads. |
public static JobVertexFlameGraph createFullFlameGraphFrom(JobVertexThreadInfoStats sample)
JobVertexThreadInfoStats
into a FlameGraph.sample
- Thread details sample containing stack traces.public static JobVertexFlameGraph createOffCpuFlameGraph(JobVertexThreadInfoStats sample)
JobVertexThreadInfoStats
into a FlameGraph representing blocked (Off-CPU)
threads.
Includes threads in states Thread.State.[TIMED_WAITING, BLOCKED, WAITING].
sample
- Thread details sample containing stack traces.public static JobVertexFlameGraph createOnCpuFlameGraph(JobVertexThreadInfoStats sample)
JobVertexThreadInfoStats
into a FlameGraph representing actively running
(On-CPU) threads.
Includes threads in states Thread.State.[RUNNABLE, NEW].
sample
- Thread details sample containing stack traces.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.