Show
Ignore:
Timestamp:
06/05/10 16:50:27 (2 years ago)
Author:
deniart
Message:

fix statistics performance

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/templates/skin/developer/statistics_performance.tpl

    r926 r928  
    11{if $bIsShowStatsPerformance and $oUserCurrent and $oUserCurrent->isAdministrator()} 
    2 <fieldset> 
    3 <legend>Statistics performance</legend> 
    4 <table> 
    5         <tr align="top"> 
    6                 <td align="top"> 
    7                 <ul> 
    8         <li> 
    9         <b>MySql</b> <br> 
    10         &nbsp;&nbsp;&nbsp;query: {$aStatsPerformance.sql.count}<br> 
    11         &nbsp;&nbsp;&nbsp;time: {$aStatsPerformance.sql.time}<br><br><br> 
    12         </li> 
    13         </ul> 
    14                 </td> 
    15                 <td> 
    16                 <ul> 
    17         <li> 
    18         <b>Cache</b> <br> 
    19         &nbsp;&nbsp;&nbsp;query: {$aStatsPerformance.cache.count}<br> 
    20         &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set: {$aStatsPerformance.cache.count_set}<br> 
    21         &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get: {$aStatsPerformance.cache.count_get}<br> 
    22         &nbsp;&nbsp;&nbsp;time: {$aStatsPerformance.cache.time} 
    23         </li> 
    24         </ul> 
    25                 </td> 
    26                 <td align="top"> 
    27                 <ul> 
    28         <li> 
    29         <b>PHP</b> <br>  
    30         &nbsp;&nbsp;&nbsp;time load modules:{$aStatsPerformance.engine.time_load_module}<br> 
    31         &nbsp;&nbsp;&nbsp;full time:{$iTimeFullPerformance}<br><br><br> 
    32         </li> 
    33         </ul> 
    34                 </td> 
    35         </tr> 
    36 </table> 
    37 </fieldset> 
     2        <div class="stat-performance"> 
     3                <h2>Statistics performance</h2> 
     4                 
     5                <table> 
     6                        <tr> 
     7                                <td> 
     8                                        <h4>MySql</h4> 
     9                                        query: <strong>{$aStatsPerformance.sql.count}</strong><br /> 
     10                                        time: <strong>{$aStatsPerformance.sql.time}</strong> 
     11                                </td> 
     12                                <td> 
     13                                        <h4>Cache</h4> 
     14                                        query: <strong>{$aStatsPerformance.cache.count}</strong><br /> 
     15                                        &mdash; set: <strong>{$aStatsPerformance.cache.count_set}</strong><br /> 
     16                                        &mdash; get: <strong>{$aStatsPerformance.cache.count_get}</strong><br /> 
     17                                        time: <strong>{$aStatsPerformance.cache.time}</strong> 
     18                                </td> 
     19                                <td> 
     20                                        <h4>PHP</h4>     
     21                                        time load modules: <strong>{$aStatsPerformance.engine.time_load_module}</strong><br /> 
     22                                        full time: <strong>{$iTimeFullPerformance}</strong> 
     23                                </td> 
     24                        </tr> 
     25                </table> 
     26        </div> 
    3827{/if}