Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
ReadSpeed Namespace Reference

Classes

struct  Args
 
struct  ByteData
 
struct  Data
 
struct  EntryRange
 
struct  ReadSpeedRegex
 
struct  Result
 

Functions

Result EvalThroughput (const Data &d, unsigned nThreads)
 
Result EvalThroughputMT (const Data &d, unsigned nThreads)
 
Result EvalThroughputST (const Data &d)
 
std::vector< std::vector< EntryRange > > GetClusters (const Data &d)
 
std::vector< std::string > GetMatchingBranchNames (const std::string &fileName, const std::string &treeName, const std::vector< ReadSpeedRegex > &regexes)
 
std::vector< std::vector< EntryRange > > MergeClusters (std::vector< std::vector< EntryRange > > &&clusters, unsigned int maxTasksPerFile)
 
Args ParseArgs (const std::vector< std::string > &args)
 
Args ParseArgs (int argc, char **argv)
 
void PrintThroughput (const Result &r)
 
ByteData ReadTree (TFile *file, const std::string &treeName, const std::vector< std::string > &branchNames, EntryRange range={-1, -1})
 

Function Documentation

◆ EvalThroughput()

Result ReadSpeed::EvalThroughput ( const Data & d,
unsigned nThreads )

Definition at line 343 of file ReadSpeed.cxx.

◆ EvalThroughputMT()

Result ReadSpeed::EvalThroughputMT ( const Data & d,
unsigned nThreads )

Definition at line 269 of file ReadSpeed.cxx.

◆ EvalThroughputST()

Result ReadSpeed::EvalThroughputST ( const Data & d)

Definition at line 168 of file ReadSpeed.cxx.

◆ GetClusters()

std::vector< std::vector< EntryRange > > ReadSpeed::GetClusters ( const Data & d)

Definition at line 201 of file ReadSpeed.cxx.

◆ GetMatchingBranchNames()

std::vector< std::string > ReadSpeed::GetMatchingBranchNames ( const std::string & fileName,
const std::string & treeName,
const std::vector< ReadSpeedRegex > & regexes )

Definition at line 37 of file ReadSpeed.cxx.

◆ MergeClusters()

std::vector< std::vector< EntryRange > > ReadSpeed::MergeClusters ( std::vector< std::vector< EntryRange > > && clusters,
unsigned int maxTasksPerFile )

Definition at line 231 of file ReadSpeed.cxx.

◆ ParseArgs() [1/2]

Args ReadSpeed::ParseArgs ( const std::vector< std::string > & args)

Definition at line 167 of file ReadSpeedCLI.cxx.

◆ ParseArgs() [2/2]

Args ReadSpeed::ParseArgs ( int argc,
char ** argv )

Definition at line 257 of file ReadSpeedCLI.cxx.

◆ PrintThroughput()

void ReadSpeed::PrintThroughput ( const Result & r)

Definition at line 129 of file ReadSpeedCLI.cxx.

◆ ReadTree()

ByteData ReadSpeed::ReadTree ( TFile * file,
const std::string & treeName,
const std::vector< std::string > & branchNames,
EntryRange range = {-1, -1} )

Definition at line 130 of file ReadSpeed.cxx.