original_string: protected function log_finish($message, $depth = 0) {
          $this->log($message, $depth);
  
          if (isset($this->tracestats->$depth)) {
              $startstats = $this->tracestats->$depth;
              $this->log(
                      sprintf("Time taken %s, memory total: %s, Memory growth: %s, Memory peak: %s",
                          microtime_diff($startstats['time'], microtime()),
                          display_size(memory_get_usage()),
                          display_size(memory_get_usage() - $startstats['mem']),
                          display_size(memory_get_peak_usage())
                      ),
                      $depth + 1
                  );
          }
      }
code: protected function log_finish($message, $depth = 0) {
          $this->log($message, $depth);
  
          if (isset($this->tracestats->$depth)) {
              $startstats = $this->tracestats->$depth;
              $this->log(
                      sprintf("Time taken %s, memory total: %s, Memory growth: %s, Memory peak: %s",
                          microtime_diff($startstats['time'], microtime()),
                          display_size(memory_get_usage()),
                          display_size(memory_get_usage() - $startstats['mem']),
                          display_size(memory_get_peak_usage())
                      ),
                      $depth + 1
                  );
          }
      }
code_tokens: protected function log_finish ( $ message , $ depth = 0 ) { $ this -> log ( $ message , $ depth ) ; if ( isset ( $ this -> tracestats -> $ depth ) ) { $ startstats = $ this -> tracestats -> $ depth ; $ this -> log ( sprintf ( "Time taken %s, memory total: %s, Memory growth: %s, Memory peak: %s" , microtime_diff ( $ startstats [ 'time' ] , microtime ( ) ) , display_size ( memory_get_usage ( ) ) , display_size ( memory_get_usage ( ) - $ startstats [ 'mem' ] ) , display_size ( memory_get_peak_usage ( ) ) ) , $ depth + 1 ) ; } }
docstring: Log an end message to the progress tracer.
  
  @param   string  $message
  @param   int     $depth
docstring_tokens: Log an end message to the progress tracer .