You are here

function _perfmon_run in Performance monitor 7

Same name and namespace in other branches
  1. 8 perfmon.module \_perfmon_run()

Private function the review and returns the full results.

2 calls to _perfmon_run()
perfmon_run in ./perfmon.inc
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.inc, line 34
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;
}