Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removing TPerfStats #5299

Merged
merged 1 commit into from Jan 26, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 1 addition & 4 deletions Framework/AnalysisSupport/src/AODJAlienReaderHelpers.cxx
Expand Up @@ -32,7 +32,6 @@
#include <TGrid.h>
#include <TFile.h>
#include <TTreeCache.h>
#include <TTreePerfStats.h>

#include <arrow/ipc/reader.h>
#include <arrow/ipc/writer.h>
Expand Down Expand Up @@ -159,7 +158,7 @@ void AODJAlienReaderHelpers::dumpFileMetrics(Monitoring& monitoring, TFile* curr
}
#endif
monitoring.send(Metric{monitoringInfo, "aod-file-read-info"}.addTag(Key::Subsystem, monitoring::tags::Value::DPL));
LOGP(DEBUG, "Read info: {}", monitoringInfo);
LOGP(INFO, "Read info: {}", monitoringInfo);
}

AlgorithmSpec AODJAlienReaderHelpers::rootFileReaderCallback()
Expand Down Expand Up @@ -283,7 +282,6 @@ AlgorithmSpec AODJAlienReaderHelpers::rootFileReaderCallback()
throw std::runtime_error("Processing is stopped!");
}
}
TTreePerfStats ps("ioperf", tr);

if (first) {
timeFrameNumber = didir->getTimeFrameNumber(dh, fcnt, ntf);
Expand Down Expand Up @@ -311,7 +309,6 @@ AlgorithmSpec AODJAlienReaderHelpers::rootFileReaderCallback()
}
}
t2t.fill(tr);
monitoring.send(Metric{(double)ps.GetReadCalls(), "aod-tree-read-calls"}.addTag(Key::Subsystem, monitoring::tags::Value::DPL));
delete tr;

// needed for metrics dumping (upon next file read, or terminate due to watchdog)
Expand Down