IMP Reference Guide
2.11.1
The Integrative Modeling Platform
|
Various general useful macros for IMP. More...
#include <IMP/benchmark/benchmark_config.h>
#include <IMP/flags.h>
#include <IMP/nullptr_macros.h>
#include <boost/timer.hpp>
#include <boost/scoped_ptr.hpp>
#include "internal/control.h"
#include "internal/flags.h"
#include <IMP/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... | |
Various general useful macros for IMP.
Copyright 2007-2019 IMP Inventors. All rights reserved.
Definition in file benchmark_macros.h.
#define IMP_BENCHMARK_PROFILING_BEGIN |
Definition at line 87 of file benchmark_macros.h.
#define IMP_BENCHMARK_PROFILING_END |
Definition at line 91 of file benchmark_macros.h.
#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.
Definition at line 97 of file benchmark_macros.h.
#define IMP_TIME_N | ( | block, | |
timev, | |||
N | |||
) |
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 exactly N times.
Definition at line 147 of file benchmark_macros.h.
#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.
Definition at line 120 of file benchmark_macros.h.