You are here

function performance_log_summary_apc in Performance Logging and Monitoring 7

Same name and namespace in other branches
  1. 5 performance.module \performance_log_summary_apc()
  2. 6 performance.module \performance_log_summary_apc()

Helper function to store summary data in APC.

See also

performance_data_stores()

File

./performance.module, line 498
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_log_summary_apc($params = array()) {
  $key = PERFORMANCE_KEY . $params['path'];
  $result = performance_build_summary_data(apc_fetch($key), $params);
  apc_store($key, $result['data']);
}