hphp_get_timers

Returns timestamps of different request events

function hphp_get_timers(
  bool $get_as_float = true,
): mixed;

Parameters

  • bool $get_as_float = true - same as in microtime() to specify output format, except it defaults to true for float format.

Returns

  • mixed - - An array of three timestamps: 'queue', the time a request is received and queued up; 'process-wall', the wall clock time a request starts to get processed; and 'process-cpu', the CPU clock time a request starts to get processed.