MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / perf_parse_args

Function perf_parse_args

compute/perf/perf.hpp:28–37  ·  view source on GitHub ↗

parses command line arguments and sets the corresponding perf variables

Source from the content-addressed store, hash-verified

26
27// parses command line arguments and sets the corresponding perf variables
28inline void perf_parse_args(int argc, char *argv[])
29{
30 if(argc >= 2){
31 PERF_N = boost::lexical_cast<size_t>(argv[1]);
32 }
33
34 if(argc >= 3){
35 PERF_TRIALS = boost::lexical_cast<size_t>(argv[2]);
36 }
37}
38
39// generates a vector of random numbers
40template<class T>

Callers 15

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected