Profiler frames

A profiler frame contains information corresponding to a specific invocation of profiled code, such as its start and finish times.

In each Profiler session:

  • Whenever the code executes a PUSH operation on the profiler stack, Guidewire Profiler creates a profiler frame and pushes the frame onto the stack.
  • Whenever the code executes a POP operation on the profiler stack, Guidewire Profiler removes the profiler frame from the stack. The Profiler continues to stores the frame information. This makes the information available for future examination.

The sequence of PUSH and its the associated POP operation define the boundaries of a single frame.

The profiler code represents profiler frames by instances of a gw.api.profiler.ProfilerFrame object.

See also