Documentation

Timing
in package

Table of Contents

$printed  : bool
Used to make sure we only print the run time once per run.
$startTime  : float
The start time of the run.
printRunTime()  : void
Print information about the run.
startTiming()  : void
Start recording time for the run.

Properties

$printed

Used to make sure we only print the run time once per run.

private static bool $printed = false

$startTime

The start time of the run.

private static float $startTime

Methods

printRunTime()

Print information about the run.

public static printRunTime([bool $force = false ]) : void
Parameters
$force : bool = false

If TRUE, prints the output even if it has already been printed during the run.

Return values
void

startTiming()

Start recording time for the run.

public static startTiming() : void
Return values
void

Search results