[Lemon-commits] [lemon_svn] alpar: r947 - hugo/trunk/src/hugo
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 20:42:22 CET 2006
Author: alpar
Date: Tue Jul 6 13:28:20 2004
New Revision: 947
Modified:
hugo/trunk/src/hugo/time_measure.h
Log:
Example in the doc is corrected.
Modified: hugo/trunk/src/hugo/time_measure.h
==============================================================================
--- hugo/trunk/src/hugo/time_measure.h (original)
+++ hugo/trunk/src/hugo/time_measure.h Tue Jul 6 13:28:20 2004
@@ -127,17 +127,20 @@
///Class measuring the cpu time and real time usage of the process.
///It is quite easy-to-use, here is a short example.
///\code
+ ///#include<hugo/time_measure.h>
+ ///#include<iostream>
+
///int main()
///{
///
/// ...
///
- /// Timer T();
+ /// Timer T;
/// doSomething();
- /// cout << T;
+ /// std::cout << T << '\n';
/// T.reset();
/// doSomethingElse();
- /// cout << T;
+ /// std::cout << T << '\n';
///
/// ...
///
More information about the Lemon-commits
mailing list