function performance_get_data_apc in Performance Logging and Monitoring 6
Same name and namespace in other branches
- 7 performance.module \performance_get_data_apc()
Helper function to get data from APC.
Parameters
$timestamp unix timestamp to start fetching data from:
Return value
array of fetched data
See also
File
- ./
performance.module, line 538 - Logs detailed and/or summary page generation time and memory consumption for page requests. Copyright Khalid Baheyeldin 2008 of http://2bits.com
Code
function performance_get_data_apc($timestamp = 0) {
$data_list = array();
$list = performance_apc_list_all($timestamp);
foreach ($list as $key) {
$data_list[] = apc_fetch($key);
}
return $data_list;
}