CPUProfileFrameLocation

object

The location in the cpu profiling frame (contains function, line, file metadata)

functionobject

Represents a function in the cpu profile (contains the name of the function and the file where it’s defined)

Show Child Parameters
lineinteger

The line number for the function call

Example

CPUProfileFunction

object

Represents a function in the cpu profile (contains the name of the function and the file where it’s defined)

namestring

The name of the function

filestring

The file where the function is defined

Example

CPUProfileFlamegraph

object

Represents the flamegraph representation of a cpu profile

rootobjectrequired

Represents a node in the flamegraph tree

Show Child Parameters
Example

CPUProfileFlamegraphNode

object

Represents a node in the flamegraph tree

locationobject

The location in the cpu profiling frame (contains function, line, file metadata)

Show Child Parameters
valueinteger(uint64)required

The value associated with this node in the flamegraph tree

childrenarray[object]required

Represents a node in the flamegraph tree

Show Child Parameters
Example

ProfileMetadata

object

Contains the metadata for the profile

typestringrequired

Represents the type of profile

modestringrequired

Represents the mode for the profile

attributesobject
Example