You are here

public function StopwatchPeriod::getMemory in Devel 8.2

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. 4.x webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchPeriod::getMemory()

Gets the memory usage.

Return value

integer The memory usage (in bytes)

File

webprofiler/src/Stopwatch.php, line 538

Class

StopwatchPeriod
Class StopwatchPeriod

Namespace

Drupal\webprofiler

Code

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