" . $v['name'] .
" | " . $v['time'] .
" | " . $v['diff'] .
" | " . number_format($perc, 2, '.', '') .
"% | ".
($showTotal ?
"" . $v['total'] .
" | " .
number_format($tperc, 2, '.', '') .
"% | " : '').
"
\n";
} else {
$out .= str_pad($v['name'], $this->maxStringLength, ' ') .
str_pad($v['time'], 22) .
str_pad($v['diff'], 14) .
str_pad(number_format($perc, 2, '.', '')."%",8, ' ', STR_PAD_LEFT) .
($showTotal ? ' '.
str_pad($v['total'], 14) .
str_pad(number_format($tperc, 2, '.', '')."%",
8, ' ', STR_PAD_LEFT) : '').
"\n";
}
$out .= $dashes;
}
if ($format == 'html') {
$out .= "