public function TimeDataCollector::updateMemoryUsage in Devel 4.x
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/TimeDataCollector.php \Drupal\webprofiler\DataCollector\TimeDataCollector::updateMemoryUsage()
- 8 webprofiler/src/DataCollector/TimeDataCollector.php \Drupal\webprofiler\DataCollector\TimeDataCollector::updateMemoryUsage()
- 8.2 webprofiler/src/DataCollector/TimeDataCollector.php \Drupal\webprofiler\DataCollector\TimeDataCollector::updateMemoryUsage()
Updates the memory usage data.
2 calls to TimeDataCollector::updateMemoryUsage()
- TimeDataCollector::collect in webprofiler/
src/ DataCollector/ TimeDataCollector.php - TimeDataCollector::lateCollect in webprofiler/
src/ DataCollector/ TimeDataCollector.php
File
- webprofiler/
src/ DataCollector/ TimeDataCollector.php, line 69
Class
- TimeDataCollector
- Class TimeDataCollector.
Namespace
Drupal\webprofiler\DataCollectorCode
public function updateMemoryUsage() {
$this->data['memory'] = memory_get_peak_usage(TRUE);
}