lemon/time_measure.h
changeset 1270 dceba191c00d
parent 1222 c40a9d94442d
child 1340 f70f688d9ef9
     1.1 --- a/lemon/time_measure.h	Fri Aug 09 14:07:27 2013 +0200
     1.2 +++ b/lemon/time_measure.h	Fri Aug 09 11:28:17 2013 +0200
     1.3 @@ -2,7 +2,7 @@
     1.4   *
     1.5   * This file is a part of LEMON, a generic C++ optimization library.
     1.6   *
     1.7 - * Copyright (C) 2003-2009
     1.8 + * Copyright (C) 2003-2013
     1.9   * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
    1.10   * (Egervary Research Group on Combinatorial Optimization, EGRES).
    1.11   *
    1.12 @@ -98,7 +98,7 @@
    1.13      ///The output format is global for all timestamp instances.
    1.14      static Format format() { return _format; }
    1.15  
    1.16 -    
    1.17 +
    1.18      ///Read the current time values of the process
    1.19      void stamp()
    1.20      {
    1.21 @@ -522,14 +522,14 @@
    1.22      ///\param active Sets whether the report should actually be printed
    1.23      ///       on destruction.
    1.24      TimeReport(std::string title,std::ostream &os=std::cerr,bool run=true,
    1.25 -	       bool active=true)
    1.26 +               bool active=true)
    1.27        : Timer(run), _title(title), _os(os), _active(active) {}
    1.28      ///Destructor that prints the ellapsed time
    1.29      ~TimeReport()
    1.30      {
    1.31        if(_active) _os << _title << *this << std::endl;
    1.32      }
    1.33 -    
    1.34 +
    1.35      ///Retrieve the activity status
    1.36  
    1.37      ///\e