You are here

function perfmon_run in Performance monitor 7

Same name and namespace in other branches
  1. 8 perfmon.module \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.inc, line 22
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;
}