You are here

public function Twig_Profiler_Profile::enter in Translation template extractor 7.3

Starts the profiling.

1 call to Twig_Profiler_Profile::enter()
Twig_Profiler_Profile::__construct in vendor/Twig/Profiler/Profile.php

File

vendor/Twig/Profiler/Profile.php, line 125

Class

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

Code

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