COMBINATORIAL_BLAS  1.6
timer.h File Reference

Go to the source code of this file.

Macros

#define TIME(timevar, what)   do { tic (); what; timevar = toc(); } while (0)
 

Functions

void tic (void)
 
double toc (void)
 

Macro Definition Documentation

◆ TIME

#define TIME (   timevar,
  what 
)    do { tic (); what; timevar = toc(); } while (0)

Macro to time a block.

Definition at line 14 of file timer.h.

Function Documentation

◆ tic()

void tic ( void  )

Start timing.

◆ toc()

double toc ( void  )

Return seconds since last tic.