xhprof_frame_begin

Starts an artificial frame

function xhprof_frame_begin(
  string $name,
): void;

Together with xhprof_frame_end(), this times one block of code execution as if it were a function call, allowing people to define arbitrary function boundaries.

Parameters

  • string $name - The "virtual" function's name.

Returns

  • void