IMP logo

benchmark_macros.h File Reference

Various general useful macros for IMP. More...

Include dependency graph for benchmark_macros.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Defines

#define IMP_TIME(block, timev)
 Time the given command and assign the time of one iteration to the variable.
#define IMP_TIME_N(block, timev, N)
 Time the given command and assign the time of one iteration to the variable.

Detailed Description

Various general useful macros for IMP.

Copyright 2007-2010 IMP Inventors. All rights reserved.


Define Documentation

#define IMP_TIME ( block,
timev   ) 

Time the given command and assign the time of one iteration to the variable.

The units for the time are in seconds. See also IMP_TIME_N

#define IMP_TIME_N ( block,
timev,
 ) 

Time the given command and assign the time of one iteration to the variable.

The units for the time are in seconds. The bit of code is run exact N times. See also IMP_TIME


Generated on Mon Mar 8 23:03:53 2010 for IMP by doxygen 1.5.8