15 using Parameters = Table<Config>;
16 explicit ScheduleThreadChecker(Parameters
const&
p);
24 ScheduleThreadChecker::ScheduleThreadChecker(Parameters
const&
p)
28 auto const nschedules = globals->nschedules();
29 auto const nthreads = globals->nthreads();
30 if (
p().expected_schedules() != nschedules or
31 p().expected_threads() != nthreads) {
34 "The expected number of threads and schedules does not match those " 35 "that are actually configured for this job.\n"}
36 <<
"Expected: " <<
p().expected_threads() <<
" threads and " 37 <<
p().expected_schedules() <<
" schedules\n" 38 <<
"Actual : " << nthreads <<
" threads and " << nschedules
def analyze(root, level, gtrees, gbranches, doprint)
typename config_impl< T >::type Config
#define DEFINE_ART_MODULE(klass)
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
static Globals * instance()