You are here

function performance_log_details in Devel 5

1 call to performance_log_details()
performance_shutdown in performance/performance.module

File

performance/performance.module, line 264

Code

function performance_log_details($params = array()) {
  global $user;
  $anon = $user->uid ? FALSE : TRUE;
  db_query("INSERT INTO {performance_detail} (path, anon, bytes, millisecs, timestamp, query_timer, query_count) VALUES ('%s', %d, %d, %d, %d, %d, %d)", $params['path'], $anon, $params['mem'], $params['timer'], time(), $params['query_timer'], $params['query_count']);
}