ROOT
master
Reference Guide
Loading...
Searching...
No Matches
ReadSpeedCLI.hxx
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
/* This header contains helper functions for the root-readspeed program
12
for CLI related actions, such as argument parsing and output printing. */
13
14
#ifndef ROOTREADSPEEDCLI
15
#define ROOTREADSPEEDCLI
16
17
#include "
ReadSpeed.hxx
"
18
19
#include <vector>
20
21
namespace
ReadSpeed
{
22
23
void
PrintThroughput
(
const
Result &
r
);
24
25
struct
Args
{
26
Data
fData
;
27
unsigned
int
fNThreads
= 0;
28
bool
fAllBranches
=
false
;
29
bool
fShouldRun
=
false
;
30
};
31
32
Args
ParseArgs
(
const
std::vector<std::string> &args);
33
Args
ParseArgs
(
int
argc,
char
**argv);
34
35
}
// namespace ReadSpeed
36
37
#endif
// ROOTREADSPEEDCLI
ReadSpeed.hxx
r
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Definition
TGWin32VirtualXProxy.cxx:168
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::Args
Definition
ReadSpeedCLI.hxx:25
ReadSpeed::Args::fNThreads
unsigned int fNThreads
Definition
ReadSpeedCLI.hxx:27
ReadSpeed::Args::fShouldRun
bool fShouldRun
Definition
ReadSpeedCLI.hxx:29
ReadSpeed::Args::fData
Data fData
Definition
ReadSpeedCLI.hxx:26
ReadSpeed::Args::fAllBranches
bool fAllBranches
Definition
ReadSpeedCLI.hxx:28
ReadSpeed::Data
Definition
ReadSpeed.hxx:22
tree
readspeed
inc
ReadSpeedCLI.hxx
ROOT master - Reference Guide Generated on Tue Dec 3 2024 09:33:37 (GVA Time) using Doxygen 1.9.8