ProfilerPro::stop() method

Stop tracking an event

Usage

$float = $profiler->stop($event);

Arguments

NameType(s)Description
$eventarray object string null

The event returned from the $profiler->start() method

Return value

float

Returns elapsed time since the start() call


$profiler methods and properties

API reference based on ProcessWire core version 3.0.253