ROOT 6.12/07 Reference Guide |
#include "TRandom3.h"
#include <vector>
#include <chrono>
#include <iostream>
#include "TH1.h"
#include "TH2.h"
#include "TH3.h"
#include "ROOT/THist.hxx"
#include "ROOT/THistBufferedFill.hxx"
Namespaces | |
R6 | |
R7 | |
Functions | |
template<typename T > | |
void | GenerateInput (std::vector< T > &numbers, double minVal, double maxVal, UInt_t seed) |
template<int dim, typename type > | |
const char * | GetHist () |
template<> | |
const char * | GetHist< 1, double > () |
template<> | |
const char * | GetHist< 1, float > () |
template<> | |
const char * | GetHist< 2, double > () |
template<> | |
const char * | GetHist< 2, float > () |
void | histspeedtest (size_t iter=1e6, int what=255) |
int | main (int argc, char **argv) |
std::string | MakeTitle (std::string_view version, std::string_view histname, std::string_view title, std::string_view axis) |
template<typename T , unsigned short kNDim> | |
void | speedtest (size_t count=(size_t)(1e6)) |
template<> | |
void | speedtest< double, 1 > (size_t count) |
template<> | |
void | speedtest< double, 2 > (size_t count) |
template<> | |
void | speedtest< float, 1 > (size_t count) |
template<> | |
void | speedtest< float, 2 > (size_t count) |
Variables | |
constexpr unsigned short | gRepeat = 2 |
constexpr UInt_t | gStride = 32 |
const char * | R7::gVersion = "R7" |
const char * | R6::gVersion = "R6" |
Definition in file histspeedtest.cxx.
void GenerateInput | ( | std::vector< T > & | numbers, |
double | minVal, | ||
double | maxVal, | ||
UInt_t | seed | ||
) |
Definition at line 109 of file histspeedtest.cxx.
const char* GetHist | ( | ) |
const char* GetHist< 1, double > | ( | ) |
Definition at line 146 of file histspeedtest.cxx.
const char* GetHist< 1, float > | ( | ) |
Definition at line 151 of file histspeedtest.cxx.
const char* GetHist< 2, double > | ( | ) |
Definition at line 135 of file histspeedtest.cxx.
const char* GetHist< 2, float > | ( | ) |
Definition at line 140 of file histspeedtest.cxx.
void histspeedtest | ( | size_t | iter = 1e6 , |
int | what = 255 |
||
) |
Definition at line 740 of file histspeedtest.cxx.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 752 of file histspeedtest.cxx.
std::string MakeTitle | ( | std::string_view | version, |
std::string_view | histname, | ||
std::string_view | title, | ||
std::string_view | axis | ||
) |
Definition at line 124 of file histspeedtest.cxx.
void speedtest | ( | size_t | count = (size_t)(1e6) | ) |
Definition at line 629 of file histspeedtest.cxx.
Definition at line 513 of file histspeedtest.cxx.
Definition at line 685 of file histspeedtest.cxx.
Definition at line 573 of file histspeedtest.cxx.
constexpr unsigned short gRepeat = 2 |
Definition at line 22 of file histspeedtest.cxx.
constexpr UInt_t gStride = 32 |
Definition at line 79 of file histspeedtest.cxx.