src/hugo/time_measure.h
changeset 696 48aa9ace1d7d
parent 539 fb261e3a9a0f
child 814 d2d747fe1db3
     1.1 --- a/src/hugo/time_measure.h	Tue Jul 06 11:27:36 2004 +0000
     1.2 +++ b/src/hugo/time_measure.h	Tue Jul 06 11:28:20 2004 +0000
     1.3 @@ -127,17 +127,20 @@
     1.4    ///Class measuring the cpu time and real time usage of the process.
     1.5    ///It is quite easy-to-use, here is a short example.
     1.6    ///\code
     1.7 +  ///#include<hugo/time_measure.h>
     1.8 +  ///#include<iostream>
     1.9 +
    1.10    ///int main()
    1.11    ///{
    1.12    ///
    1.13    ///  ...
    1.14    ///
    1.15 -  ///  Timer T();
    1.16 +  ///  Timer T;
    1.17    ///  doSomething();
    1.18 -  ///  cout << T;
    1.19 +  ///  std::cout << T << '\n';
    1.20    ///  T.reset();
    1.21    ///  doSomethingElse();
    1.22 -  ///  cout << T;
    1.23 +  ///  std::cout << T << '\n';
    1.24    ///
    1.25    ///  ...
    1.26    ///