/** \file utility.cpp Benchmarking utilties * * Copyright 2007-2013 IMP Inventors. All rights reserved. */ #include #include #include #include #include #include #include #include IMPBENCHMARK_BEGIN_NAMESPACE void report(std::string name, std::string algorithm, double value, double check) { if (value < 0) { // disabled } else { std::cout << boost::format("%s, %s, %30t%.2e, %50t%1.1e, %d") %name % algorithm % value % check % (internal::current_benchmark) << std::endl; } } void report(std::string name, double value, double check) { report(name, "", value, check); } int get_return_value() { return 0; } IMPBENCHMARK_END_NAMESPACE