程序概要分析 - 堆栈调用报告 |
步骤 |
时间 (秒) |
$entry ) {
$color = ($index % 2) ? '#F5F5F5' : '#FFFFFF';
list ( $proc, $time, $level ) = $entry;
$proc = CHtml::encode ( $proc );
$time = sprintf ( '%0.5f', $time );
$spaces = str_repeat ( ' ', $level * 8 );
echo <<
{$spaces}{$proc} |
{$time} |
EOD;
}
?>