linbox
benchmark-utils.C File Reference

utils More...

Namespaces

namespace  LinBox
 Namespace in which all linbox code resides.
 

Functions

void showAdvanceLinear (size_t curr, size_t min, size_t max)
 show the advancement (on the terminal) suppose linear advancement
 
void showFinish (size_t curr, size_t all)
 tells the current series of measure has completed (on the terminal)
 
void showSkip (size_t curr, size_t all)
 tells the current series of measure was skipped (on the terminal)
 
double computeMFLOPS (const double &tim, const double mflo, const size_t rpt=1)
 computes the number of megaflops.
 
dvector_tinsertTime (dvector_t &tim3, const double &tps)
 inserts a time in a vector of 3 best times.
 
double computeMFLOPS (const dvector_t &tim, const double mflo, Tag::TimeSelect ts=Tag::TimeSelect::bestThree)
 computes the number of megaflops.
 
bool isDigit (const std::string &s)
 Check if a string is actually a double.
 
bool fortifiedString (const std::string &s)
 Tells is a string has double quotes around.
 
std::string unfortifyString (const std::string &s)
 removes the surrounding quotes.
 
std::string fortifyString (const std::string &s)
 adds surrounding quotes.
 
char randomAlNum ()
 random :alnum: char. [[:alnum:]] characters are in range
 
std::string randomAlNum (const size_t &m)
 random :alnum: string.
 
std::string getDateTime (const std::string &sep)
 get ISO time and date
 
smatrix_t getMachineInformation ()
 get some machine information (not cpu yet)
 

Detailed Description

utils