COMBINATORIAL_BLAS  1.6
timer.h
Go to the documentation of this file.
1 /* -*- mode: C; mode: folding; fill-column: 70; -*- */
2 /* Copyright 2010, Georgia Institute of Technology, USA. */
3 /* See COPYING for license. */
4 #if !defined(TIMER_HEADER_)
5 #define TIMER_HEADER_
6 
8 void tic (void);
9 
11 double toc (void);
12 
14 #define TIME(timevar, what) do { tic (); what; timevar = toc(); } while (0)
15 
16 #endif /* TIMER_HEADER_ */
double toc(void)
void tic(void)