1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-20 17:58:24 +03:00
ifhub.club/templates/skin/developer/statistics_performance.tpl
2010-06-05 12:50:27 +00:00

27 lines
878 B
Smarty

{if $bIsShowStatsPerformance and $oUserCurrent and $oUserCurrent->isAdministrator()}
<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 />
&mdash; set: <strong>{$aStatsPerformance.cache.count_set}</strong><br />
&mdash; 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>
{/if}