Profileringsrapport
|
Funktion |
Tid (sek) |
$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;
}
?>