Changeset 1092:dceba191c00d in lemon-main for lemon/time_measure.h
- Timestamp:
- 08/09/13 11:28:17 (11 years ago)
- Branch:
- default
- Children:
- 1093:fb1c7da561ce, 1165:e0ccc1f0268f
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/time_measure.h
r1054 r1092 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 095 * Copyright (C) 2003-2013 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). … … 99 99 static Format format() { return _format; } 100 100 101 101 102 102 ///Read the current time values of the process 103 103 void stamp() … … 523 523 /// on destruction. 524 524 TimeReport(std::string title,std::ostream &os=std::cerr,bool run=true, 525 525 bool active=true) 526 526 : Timer(run), _title(title), _os(os), _active(active) {} 527 527 ///Destructor that prints the ellapsed time … … 530 530 if(_active) _os << _title << *this << std::endl; 531 531 } 532 532 533 533 ///Retrieve the activity status 534 534
Note: See TracChangeset
for help on using the changeset viewer.