コード例 #1
0
 protected function OnUpdate()
 {
     $this->TraceToText();
     $sMemPeak = max($this->Get('memory_usage_peak'), ExecutionKPI::memory_get_peak_usage());
     $this->Set('memory_usage_peak', $sMemPeak);
     parent::OnUpdate();
 }