You are here

function xhprof_boot in XHProf 6

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

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

File

./xhprof.module, line 120

Code

function xhprof_boot() {

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