You are here

function performance_get_data_apc in Performance Logging and Monitoring 7

Same name and namespace in other branches
  1. 6 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

performance_data_stores()

File

./performance.module, line 535
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;
}