mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-09 01:44:25 +03:00
25 lines
842 B
Smarty
25 lines
842 B
Smarty
{if $bIsShowStatsPerformance and $oUserCurrent and $oUserCurrent->isAdministrator()}
|
|
<div class="stat-performance">
|
|
<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>
|
|
{/if} |