2010-06-05 15:24:37 +03:00
|
|
|
{if $bIsShowStatsPerformance and $oUserCurrent and $oUserCurrent->isAdministrator()}
|
2010-06-05 15:50:27 +03:00
|
|
|
<div class="stat-performance">
|
|
|
|
<h2>Statistics performance</h2>
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<h4>MySql</h4>
|
|
|
|
query: <strong>{$aStatsPerformance.sql.count}</strong><br />
|
|
|
|
time: <strong>{$aStatsPerformance.sql.time}</strong>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<h4>Cache</h4>
|
|
|
|
query: <strong>{$aStatsPerformance.cache.count}</strong><br />
|
|
|
|
— set: <strong>{$aStatsPerformance.cache.count_set}</strong><br />
|
|
|
|
— get: <strong>{$aStatsPerformance.cache.count_get}</strong><br />
|
|
|
|
time: <strong>{$aStatsPerformance.cache.time}</strong>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<h4>PHP</h4>
|
|
|
|
time load modules: <strong>{$aStatsPerformance.engine.time_load_module}</strong><br />
|
|
|
|
full time: <strong>{$iTimeFullPerformance}</strong>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
2010-06-05 15:24:37 +03:00
|
|
|
{/if}
|