68 const std::vector<ReadSpeedRegex> ®exes);
71ByteData
ReadTree(
TFile *file,
const std::string &treeName,
const std::vector<std::string> &branchNames,
72 EntryRange range = {-1, -1});
78std::vector<std::vector<EntryRange>>
GetClusters(
const Data &
d);
83std::vector<std::vector<EntryRange>>
84MergeClusters(std::vector<std::vector<EntryRange>> &&clusters,
unsigned int maxTasksPerFile);
unsigned long long ULong64_t
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
Result EvalThroughputST(const Data &d)
std::vector< std::string > GetMatchingBranchNames(const std::string &fileName, const std::string &treeName, const std::vector< ReadSpeedRegex > ®exes)
std::vector< std::vector< EntryRange > > GetClusters(const Data &d)
Result EvalThroughputMT(const Data &d, unsigned nThreads)
Result EvalThroughput(const Data &d, unsigned nThreads)
std::vector< std::vector< EntryRange > > MergeClusters(std::vector< std::vector< EntryRange > > &&clusters, unsigned int maxTasksPerFile)
ByteData ReadTree(TFile *file, const std::string &treeName, const std::vector< std::string > &branchNames, EntryRange range={-1, -1})
ULong64_t fUncompressedBytesRead
ULong64_t fCompressedBytesRead
std::vector< std::string > fFileNames
List of input files.
bool fUseRegex
If the branch names should use regex matching.
std::vector< std::string > fBranchNames
Branches to read.
std::vector< std::string > fTreeNames
Either a single tree name common for all files, or one tree name per file.
bool operator<(const ReadSpeedRegex &other) const
double fCpuTime
CPU time spent reading and decompressing all data, in seconds.
double fMTSetupRealTime
Real time spent preparing the multi-thread workload.
ULong64_t fCompressedBytesRead
Number of compressed bytes read in total from the TFiles.
ULong64_t fUncompressedBytesRead
Number of uncompressed bytes read in total from TTree branches.
double fRealTime
Real time spent reading and decompressing all data, in seconds.
double fMTSetupCpuTime
CPU time spent preparing the multi-thread workload.
unsigned int fThreadPoolSize
Size of ROOT's thread pool for the run (0 indicates a single-thread run with no thread pool present).