You are here

function xhprof_boot in XHProf 7

Same name and namespace in other branches
  1. 6 xhprof.module \xhprof_boot()

Implementation of hook_boot(). Runs even for cached pages.

File

./xhprof.module, line 139

Code

function xhprof_boot() {

  // Initialize XHProf.
  if (xhprof_xhprof_enable()) {
    drupal_register_shutdown_function('xhprof_shutdown');
  }
}