ROOT
git-r3/HEAD
Reference Guide
Loading...
Searching...
No Matches
readspeed.cxx
Go to the documentation of this file.
1
// Author: Enrico Guiraud, David Poulton 2022
2
3
/*************************************************************************
4
* Copyright (C) 1995-2022, Rene Brun and Fons Rademakers. *
5
* All rights reserved. *
6
* *
7
* For the licensing terms see $ROOTSYS/LICENSE. *
8
* For the list of contributors see $ROOTSYS/README/CREDITS. *
9
*************************************************************************/
10
11
#include "
ReadSpeedCLI.hxx
"
12
#include "
ReadSpeed.hxx
"
13
14
using namespace
ReadSpeed
;
15
16
int
main
(
int
argc,
char
**argv)
17
{
18
auto
args =
ParseArgs
(argc, argv);
19
20
if
(!args.fShouldRun)
21
return
1;
// ParseArgs has printed the --help, has run the --test or has encountered an issue and logged about it
22
23
PrintThroughput
(
EvalThroughput
(args.fData, args.fNThreads));
24
25
return
0;
26
}
ReadSpeedCLI.hxx
ReadSpeed.hxx
main
int main()
Definition
functioncalls_main.cxx:68
ReadSpeed
Definition
ReadSpeed.hxx:20
ReadSpeed::PrintThroughput
void PrintThroughput(const Result &r)
Definition
ReadSpeedCLI.cxx:129
ReadSpeed::ParseArgs
Args ParseArgs(const std::vector< std::string > &args)
Definition
ReadSpeedCLI.cxx:167
ReadSpeed::EvalThroughput
Result EvalThroughput(const Data &d, unsigned nThreads)
Definition
ReadSpeed.cxx:344
main
src
readspeed.cxx
ROOTgit-r3/HEAD - Reference Guide Generated on
(GVA Time) using Doxygen 1.16.1