COMBINATORIAL_BLAS 1.6
Loading...
Searching...
No Matches
timer.h File Reference

Go to the source code of this file.

Macros

#define TIME(timevar, what)

Functions

void tic (void)
double toc (void)

Macro Definition Documentation

◆ TIME

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

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.