code: protected function doTime($seconds, $returnOrTemplate = false, $label = 'time', $meta = array())
      {
          if (\is_string($returnOrTemplate)) {
              $str = $returnOrTemplate;
              $str = \str_replace('%label', $label, $str);
              $str = \str_replace('%time', $seconds, $str);
          } elseif ($returnOrTemplate === true) {
              return;
          } else {
              $str = $label.': '.$seconds.' sec';
          }
          $this->appendLog('time', array($str), $meta);
      }
docs: Log timeEnd() and timeGet()
  
  @param float  $seconds          seconds
  @param mixed  $returnOrTemplate false: log the time with default template (default)
  true: do not log
  string: log using passed template
  @param string $label            label
  @param array  $meta             meta values
  
  @return void