function xhprof_include in XHProf 6
Same name and namespace in other branches
- 7 xhprof.module \xhprof_include()
Helper. Make sure expensive module_load_include() does not run needlessly.
2 calls to xhprof_include()
- xhprof_get_classes in ./
xhprof.module - List all available XHProf storage backends.
- xhprof_run_list in ./
xhprof.module - Display list of saved XHProf runs.
File
- ./
xhprof.module, line 190
Code
function xhprof_include() {
static $included = FALSE;
if (!$included) {
module_load_include('inc', 'xhprof');
module_invoke_all('xhprof_load_classes');
module_load_include('inc', 'xhprof', 'XHProfRunsInterface');
module_load_include('inc', 'xhprof', 'XHProfRunsFile');
$included = TRUE;
}
}