Révision 5b953697
dont waste time by retrieving per script stats
| plugins/php/php_opcache.php | ||
|---|---|---|
| 5 | 5 |
|
| 6 | 6 |
if (function_exists('opcache_get_status'))
|
| 7 | 7 |
{
|
| 8 |
$data = opcache_get_status(); |
|
| 8 |
$data = opcache_get_status(false);
|
|
| 9 | 9 |
$output = array( |
| 10 | 10 |
'mem_used.value' => $data['memory_usage']['used_memory'], |
| 11 | 11 |
'mem_free.value' => $data['memory_usage']['free_memory'], |
Formats disponibles : Unified diff