You are here

function _perfmon_batch_op in Performance monitor 8

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

Operation function called by Batch.

1 string reference to '_perfmon_batch_op'
PerfmonRunForm::submitForm in src/Form/PerfmonRunForm.php
Form submission handler.

File

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

Code

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

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