IMP
2.0.1
The Integrative Modeling Platform
|
Various general useful macros for IMP. More...
#include <IMP/benchmark/benchmark_config.h>
#include <IMP/base/flags.h>
#include <boost/timer.hpp>
#include <boost/scoped_ptr.hpp>
#include "internal/control.h"
#include "internal/flags.h"
#include <IMP/base/exception.h>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/date_time/posix_time/posix_time_types.hpp>
#include <boost/date_time/posix_time/posix_time_duration.hpp>
Go to the source code of this file.
Macros | |
#define | IMP_BENCHMARK_CPU_PROFILING_BEGIN |
#define | IMP_BENCHMARK_CPU_PROFILING_END |
#define | IMP_BENCHMARK_HEAP_CHECKING_BEGIN |
#define | IMP_BENCHMARK_HEAP_CHECKING_END |
#define | IMP_BENCHMARK_HEAP_PROFILING_BEGIN |
#define | IMP_BENCHMARK_HEAP_PROFILING_END |
#define | IMP_BENCHMARK_PROFILING_BEGIN |
#define | IMP_BENCHMARK_PROFILING_END |
#define | IMP_BENCHMARK_RUN |
#define | IMP_TIME(block, timev) |
Time the given command and assign the time of one iteration to the variable. More... | |
#define | IMP_TIME_N(block, timev, N) |
Time the given command and assign the time of one iteration to the variable. More... | |
#define | IMP_WALLTIME(block, timev) |
Time the given command and assign the time of one iteration to the variable. More... | |
Copyright 2007-2013 IMP Inventors. All rights reserved.
Definition in file benchmark_macros.h.
#define IMP_BENCHMARK_PROFILING_BEGIN |
Definition at line 86 of file benchmark_macros.h.
#define IMP_BENCHMARK_PROFILING_END |
Definition at line 91 of file benchmark_macros.h.
#define IMP_TIME | ( | block, | |
timev | |||
) |
The units for the time are in seconds. See also IMP_TIME_N
Definition at line 99 of file benchmark_macros.h.
#define IMP_TIME_N | ( | block, | |
timev, | |||
N | |||
) |
The units for the time are in seconds. The bit of code is run exact N times. See also IMP_TIME
Definition at line 148 of file benchmark_macros.h.
#define IMP_WALLTIME | ( | block, | |
timev | |||
) |
The units for the time are in seconds. See also IMP_TIME_N
Definition at line 121 of file benchmark_macros.h.