You are here

public function Twig_Profiler_Profile::leave in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/twig/twig/lib/Twig/Profiler/Profile.php \Twig_Profiler_Profile::leave()

Stops the profiling.

File

vendor/twig/twig/lib/Twig/Profiler/Profile.php, line 137

Class

Twig_Profiler_Profile
@author Fabien Potencier <fabien@symfony.com>

Code

public function leave() {
  $this->ends = array(
    'wt' => microtime(true),
    'mu' => memory_get_usage(),
    'pmu' => memory_get_peak_usage(),
  );
}