You are here

public function StopwatchPeriod::getMemory in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchPeriod::getMemory()
  2. 8 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchPeriod::getMemory()
  3. 8.2 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchPeriod::getMemory()

Gets the memory usage.

Return value

int The memory usage (in bytes).

File

webprofiler/src/Stopwatch.php, line 603

Class

StopwatchPeriod
Class StopwatchPeriod.

Namespace

Drupal\webprofiler

Code

public function getMemory() {
  return $this->memory;
}