function performance_apc_list_all in Performance Logging and Monitoring 5
Same name and namespace in other branches
- 6 performance.module \performance_apc_list_all()
- 7 performance.module \performance_apc_list_all()
3 calls to performance_apc_list_all()
File
- ./
performance.module, line 327
Code
function performance_apc_list_all() {
$key_list = array();
$list = apc_cache_info('user');
foreach ($list['cache_list'] as $cache_id => $cache_data) {
$regex = '/^' . PERFORMANCE_KEY . '/';
if (preg_match($regex, $cache_data['info'])) {
$key_list[] = $cache_data['info'];
}
}
return $key_list;
}