ProfilerFrame

ProfilerFrame

A set of information about a frame of execution that was recorded.

Constructor

new ProfilerFrame(depth)

Parameters:
Name Type Description
depth number

Depth of the frame in the recorded stack.

Members

arg :*

An arbitrary argument for the recorded frame. For example a block function might record its opcode as an argument.

Type:
  • *

count :number

A summarized count of the number of calls to this frame.

Type:
  • number

depth :number

The depth of the recorded frame. This can help compare recursive funtions that are recorded. Each level of recursion with have a different depth value.

Type:
  • number

id :number

The numeric id of a record symbol like Runtime._step or blockFunction.

Type:
  • number

selfTime :number

The amount of time spent only inside this record frame. Not including time in any deeper frames.

Type:
  • number

totalTime :number

The amount of time spent inside the recorded frame and any deeper frames.

Type:
  • number