function StopwatchPeriod::__construct
Constructor.
Parameters
integer $start The relative time of the start of the period (in milliseconds):
integer $end The relative time of the end of the period (in milliseconds):
File
-
webprofiler/
src/ Stopwatch.php, line 500
Class
- StopwatchPeriod
- Class StopwatchPeriod
Namespace
Drupal\webprofilerCode
public function __construct($start, $end) {
$this->start = (int) $start;
$this->end = (int) $end;
$this->memory = memory_get_usage(TRUE);
}