Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Profile.php

function Profile::getMemoryUsage

Returns the memory usage in bytes.

File

vendor/twig/twig/src/Profiler/Profile.php, line 121

Class

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

Namespace

Twig\Profiler

Code

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