function perfmon_run in Performance monitor 8
Same name and namespace in other branches
- 7 perfmon.inc \perfmon_run()
Public function for running Perfmon tests and returning results.
Parameters
array $testlist: Array of tests to run, indexed by testname.
bool $log: Whether to log test processing using perfmon_log.
Return value
array Results from running checklist, indexed by module namespace.
File
- ./
perfmon.module, line 24 - Stand-alone perfmon test system.
Code
function perfmon_run(array $testlist = NULL, $log = FALSE) {
if (!$testlist) {
$testlist = _perfmon_performance_tests();
}
$results = _perfmon_run($testlist, $log);
return $results;
}