Changeset 458:2df1fee6c866 in lemon-0.x for src/include/time_measure.h
- Timestamp:
- 04/28/04 14:58:58 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@606
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/include/time_measure.h
r440 r458 29 29 /// TimeStamp's can be added to or substracted from each other and 30 30 /// they can be pushed to a stream. 31 /// 32 /// In most cases, perhaps \ref Timer class is what you want to use instead. 33 /// 34 ///\author Alpar Juttner 31 35 32 36 class TimeStamp … … 120 124 121 125 ///Class measuring the cpu time and real time usage of the process 126 127 ///Class measuring the cpu time and real time usage of the process. 128 ///It is quite easy-to-use, here is a short example. 129 ///\code 130 ///int main() 131 ///{ 132 /// 133 /// ... 134 /// 135 /// Timer T(); 136 /// doSomething(); 137 /// cout << T; 138 /// T.reset(); 139 /// doSomethingElse(); 140 /// cout << T; 141 /// 142 /// ... 143 /// 144 ///} 145 ///\endcode 146 /// 147 ///\todo This shouldn't be Unix (Linux) specific. 148 /// 149 ///\author Alpar Juttner 122 150 class Timer 123 151 {
Note: See TracChangeset
for help on using the changeset viewer.