You are here

public function Twig_Profiler_Profile::getMemoryUsage in Translation template extractor 7.3

Returns the memory usage in bytes.

Return value

int

File

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

Class

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

Code

public function getMemoryUsage() {
  return isset($this->ends['mu']) && isset($this->starts['mu']) ? $this->ends['mu'] - $this->starts['mu'] : 0;
}