IMP logo
Macros
benchmark_macros.h File Reference

Various general useful macros for IMP. More...

+ Include dependency graph for benchmark_macros.h:

Go to the source code of this file.

Macros

#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.
#define IMP_WALLTIME(block, timev)
 Time the given command and assign the time of one iteration to the variable.

Detailed Description

Various general useful macros for IMP.

Copyright 2007-2012 IMP Inventors. All rights reserved.


Macro Definition 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

#define IMP_WALLTIME (   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


Generated on Tue May 22 2012 23:33:17 for IMP by doxygen 1.8.1