00001 /** 00002 * \file benchmark/utility.h 00003 * \brief Various utilities for benchmarking 00004 * 00005 * Copyright 2007-2010 IMP Inventors. All rights reserved. 00006 * 00007 */ 00008 00009 #ifndef IMPBENCHMARK_UTILITY_H 00010 #define IMPBENCHMARK_UTILITY_H 00011 00012 #include "benchmark_config.h" 00013 #include <string> 00014 00015 IMPBENCHMARK_BEGIN_NAMESPACE 00016 00017 //! Report a benchmark result in a standard way 00018 /** The last value is a check value which can be used to make 00019 sure the computations were semi-ok. */ 00020 IMPBENCHMARKEXPORT void report(std::string name, double value, 00021 double check); 00022 00023 IMPBENCHMARK_END_NAMESPACE 00024 00025 #endif /* IMPBENCHMARK_UTILITY_H */