49 bool forceReport =
false;
50 if (getenv(
"DPL_REPORT_PROCESSING") !=
nullptr && (prescale = std::abs(atoi(getenv(
"DPL_REPORT_PROCESSING"))))) {
56 static bool noDownscaling = getenv(
"DPL_REPORT_PROCESSING_NO_DOWNSCALING") !=
nullptr && std::abs(atoi(getenv(
"DPL_REPORT_PROCESSING_NO_DOWNSCALING")));
66 if ((
int)info.firstTForbit != -1 && checkPrescale(info, prescale,
true, noDownscaling)) {
67 char const* what = info.
isTimer() ?
"timer" :
"timeslice";
68 LOGP(info,
"Processing {}:{}, tfCounter:{}, firstTForbit:{}, runNumber:{}, creation:{}, action:{}",
69 what, info.timeslice, info.tfCounter, info.firstTForbit, info.runNumber, info.creation,
op);
71 info.lapse = uv_hrtime();
75 if ((
int)info.firstTForbit != -1 && checkPrescale(info, prescale,
false, noDownscaling)) {
76 char const* what = info.
isTimer() ?
"timer" :
"timeslice";
77 LOGP(info,
"Done processing {}:{}, tfCounter:{}, firstTForbit:{}, runNumber:{}, creation:{}, action:{}, wall:{}",
78 what, info.timeslice, info.tfCounter, info.firstTForbit, info.runNumber, info.creation,
op, uv_hrtime() - info.lapse);
void report(gsl::span< o2::InteractionTimeRecord > irs, int threshold, bool verbose)