src/Profiler/Profiler.php
/**
	 * suspend  an individual timer
	 *
	 * @param string $name
	 * @return void
	 */
suspend  an individual timer
@param string $name
@return void
suspend an individual timer @param string $name @return void
private function suspendTimer(string $name): void
	{
		$this->trace          .= "suspend $name\n";
		$this->endTime[$name] = microtime(true);
		if (!array_key_exists($name, $this->running)) {
			$this->running[$name] = $this->elapsedTime($name);
		}
		else {
			$this->running[$name] += $this->elapsedTime($name);
		}
	}
private function suspendTimer ( string $ name ) : void { $ this -> trace .= " suspend  $ name \n " ; $ this -> endTime [ $ name ] = microtime ( true ) ; if ( ! array_key_exists ( $ name , $ this -> running ) ) { $ this -> running [ $ name ] = $ this -> elapsedTime ( $ name ) ; } else { $ this -> running [ $ name ] += $ this -> elapsedTime ( $ name ) ; } }
suspend  an individual timer
 @param string $name
 @return void
suspend an individual timer @param string $name @return void