Representation of a benchmark request. More...
#include <Benchmark.h>
Public Member Functions | |
Request (double maxTime=5.0, double maxMem=4096.0, unsigned int runCount=100, bool displayProgress=true, bool saveConsoleOutput=true, bool useThreads=true) | |
Constructor that provides default values for all members. |
Public Attributes | |
double | maxTime |
the maximum amount of time a planner is allowed to run (seconds); 5.0 by default | |
double | maxMem |
the maximum amount of memory a planner is allowed to use (MB); 4096.0 by default | |
unsigned int | runCount |
the number of times to run each planner; 100 by default | |
bool | displayProgress |
flag indicating whether progress is to be displayed or not; true by default | |
bool | saveConsoleOutput |
flag indicating whether console output is saved (in an automatically generated filename); true by default | |
bool | useThreads |
flag indicating whether planner runs should be run in a separate thread. It is advisable to set this to true , so that a crashing planner doesn't result in a crash of the benchmark program. However, in the Python bindings this is set to false to avoid multi-threading problems in Python. |
Representation of a benchmark request.
Definition at line 141 of file Benchmark.h.