linbox
benchmark-order-basis.C File Reference

Macros

#define MB(x)
 
#define MEMINFO   std::right<<" ----> Mem: "<<MB(getCurrentRSS())<<" Mo (Max: "<<MB(getPeakRSS())<<" Mo)"
 

Functions

size_t getPeakRSS ()
 
size_t getCurrentRSS ()
 Returns the current resident set size (physical memory use) measured in bytes, or zero if the value cannot be determined on this OS.
 
size_t getMemorySize ()
 Returns the size of physical memory (RAM) in bytes.
 
template<typename Field, typename Mat>
string check_sigma (const Field &F, const Mat &sigma, Mat &serie, size_t ord)
 
template<typename MatPol>
bool operator== (const MatPol &A, const MatPol &B)
 
template<typename Field, typename RandIter>
void bench_sigma (const Field &F, RandIter &Gen, size_t m, size_t n, size_t d, string target)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ MB

#define MB ( x)
Value:
((x)/(double)(1<<20))

◆ MEMINFO

#define MEMINFO   std::right<<" ----> Mem: "<<MB(getCurrentRSS())<<" Mo (Max: "<<MB(getPeakRSS())<<" Mo)"

Function Documentation

◆ getPeakRSS()

size_t getPeakRSS ( )

◆ getCurrentRSS()

size_t getCurrentRSS ( )

Returns the current resident set size (physical memory use) measured in bytes, or zero if the value cannot be determined on this OS.

◆ getMemorySize()

size_t getMemorySize ( )

Returns the size of physical memory (RAM) in bytes.

◆ check_sigma()

template<typename Field, typename Mat>
string check_sigma ( const Field & F,
const Mat & sigma,
Mat & serie,
size_t ord )

◆ operator==()

template<typename MatPol>
bool operator== ( const MatPol & A,
const MatPol & B )

◆ bench_sigma()

template<typename Field, typename RandIter>
void bench_sigma ( const Field & F,
RandIter & Gen,
size_t m,
size_t n,
size_t d,
string target )

◆ main()

int main ( int argc,
char ** argv )