/* * Project: MoleCuilder * Description: creates and alters molecular systems * Copyright (C) 2010 University of Bonn. All rights reserved. * Please see the LICENSE file or "Copyright notice" in builder.cpp for details. */ /* * ChronosStub.cpp * * Created on: Apr 06, 2011 * Author: heber */ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include "CodePatterns/Chronos.hpp" #include "CodePatterns/Singleton_impl.hpp" Chronos::Chronos() {} Chronos::~Chronos() {} double Chronos::getTime(const std::string &_name) const { return 0.; } void Chronos::resetTime(const std::string &_name) {} void Chronos::startTiming(const std::string &_name) {} double Chronos::getCurrentTime() const { return 0.; } void Chronos::endTiming(const std::string &_name) {} double Chronos::SumUpTotalTime() const { return 0.; } size_t Chronos::SumUpTotalFunctions() const { return (size_t)0; } std::ostream& operator<<(std::ostream &ost, const Chronos &_time) { return ost; } // construct the remainder of the singleton CONSTRUCT_SINGLETON(Chronos) // catch if someone wants to use Info objects in here #ifdef INFO_HPP_ BOOST_PP_ASSERT_MSG(1,\ ERROR: This is a safety measure to generate a compiler warning\n \ if you really try to use info.hpp in __FILE__.) #endif