HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
profiling.php
Go to the documentation of this file.
1 <?php
2 /* @var Yii2ProfilingPanel $this */
3 /* @var array $items */
4 /* @var string $time */
5 /* @var string $memory */
6 ?>
7 <p>Total processing time: <b><?php echo $time; ?></b>; Peak memory: <b><?php echo $memory; ?></b>.</p>
8 
9 <table class="table table-condensed table-bordered table-striped table-hover table-filtered" style="table-layout:fixed">
10  <thead>
11  <tr>
12  <th style="width:80px">Time</th>
13  <th style="width:220px">Category</th>
14  <th>Procedure</th>
15  </tr>
16  </thead>
17  <tbody>
18  <?php foreach ($items as $item): ?>
19  <tr>
20  <td style="width:80px"><?php echo $item['time']; ?></td>
21  <td style="width:220px"><?php echo CHtml::encode($item['category']); ?></td>
22  <td><?php echo str_repeat('<span class="indent">→</span>', $item['indent']) . CHtml::encode($item['procedure']); ?></td>
23  </tr>
24  <?php endforeach; ?>
25  </tbody>
26 </table>