Total processing time: = $time ?>; Peak memory: = $memory ?>.
$dataProvider, 'id' => 'profile-panel-detailed-grid', 'filterModel' => $searchModel, 'filterUrl' => $panel->getUrl(), 'columns' => [ ['class' => 'yii\grid\SerialColumn'], [ 'attribute' => 'seq', 'label' => 'Time', 'value' => function ($data) { $timeInSeconds = $data['timestamp'] / 1000; $millisecondsDiff = (int)(($timeInSeconds - (int)$timeInSeconds) * 1000); return date('H:i:s.', $timeInSeconds) . sprintf('%03d', $millisecondsDiff); }, 'headerOptions' => [ 'class' => 'sort-numerical' ] ], [ 'attribute' => 'duration', 'value' => function ($data) { return sprintf('%.1f ms',$data['duration']); }, 'options' => [ 'width' => '10%', ], 'headerOptions' => [ 'class' => 'sort-numerical' ] ], 'category', [ 'attribute' => 'info', 'value' => function ($data) { return str_repeat('→', $data['level']) . Html::encode($data['info']); }, 'format' => 'html', 'options' => [ 'width' => '60%', ], ], ], ]); ?>