You are here

function _perfmon_batch_op in Performance monitor 7

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

Operation function called by Batch.

1 string reference to '_perfmon_batch_op'
perfmon_run_form_submit in ./perfmon.pages.inc
Run all tests in batch.

File

./perfmon.module, line 186
TODO: Enter file description here.

Code

function _perfmon_batch_op($testname, $test, $log, &$context) {
  module_load_include('inc', 'perfmon');
  $context['message'] = $test['title'];

  // Run the check.
  $test_result = _perfmon_run_test($testname, $test, $log);
  if (!empty($test_result)) {
    $context['results'][$testname] = $test_result;
  }
}