src/test/time_measure_test.cc
author alpar
Thu, 22 Jul 2004 19:59:18 +0000
changeset 732 33cbc0635e92
parent 566 14355e502338
child 906 17f31d280385
permissions -rw-r--r--
Skeletons have been simplified.
"Optional features" have been deleted.
Map skeletons have been renamed.
     1 #include <hugo/time_measure.h>
     2 
     3 ///\file \brief Test cases for time_measure.h
     4 ///
     5 ///\todo To be extended
     6 
     7 
     8 using namespace hugo;
     9 
    10 int main()
    11 {
    12   int j=0;
    13   Timer T;
    14   for(int i=0;i<100;i++) j+=2;
    15   std::cout << T << '\n';
    16   T.reset();
    17   for(int i=0;i<100;i++) j+=2;
    18   std::cout << T << '\n';
    19   
    20   return 0;
    21 }