You are here

function _perfmon_run in Performance monitor 8

Same name and namespace in other branches
  1. 7 perfmon.inc \_perfmon_run()

Private function the review and returns the full results.

2 calls to _perfmon_run()
perfmon_run in ./perfmon.module
Public function for running Perfmon tests and returning results.
perfmon_run_store in ./perfmon.module
Run the perfmon test and store the results.

File

./perfmon.module, line 36
Stand-alone perfmon test system.

Code

function _perfmon_run($testlist, $log = FALSE) {
  $results = array();
  foreach ($testlist as $test_name => $arguments) {
    $test_result = _perfmon_run_test($test_name, $arguments, $log);
    if (!empty($test_result)) {
      $results[$test_name] = $test_result;
    }
  }
  return $results;
}