author | marci |
Thu, 06 May 2004 15:24:42 +0000 | |
changeset 552 | 83c22ca968d8 |
child 566 | 14355e502338 |
permissions | -rw-r--r-- |
alpar@545 | 1 |
#include <hugo/time_measure.h> |
alpar@545 | 2 |
|
alpar@545 | 3 |
///\file \brief Test cases for time_measure.h |
alpar@545 | 4 |
/// |
alpar@545 | 5 |
///\todo To be extended |
alpar@545 | 6 |
|
alpar@545 | 7 |
|
alpar@545 | 8 |
using namespace hugo; |
alpar@545 | 9 |
|
alpar@545 | 10 |
int main() |
alpar@545 | 11 |
{ |
alpar@545 | 12 |
int j=0; |
alpar@545 | 13 |
Timer T; |
alpar@545 | 14 |
for(int i=0;i++;i<100) j+=2; |
alpar@545 | 15 |
std::cout << T << '\n'; |
alpar@545 | 16 |
T.reset(); |
alpar@545 | 17 |
for(int i=0;i++;i<100) j+=2; |
alpar@545 | 18 |
std::cout << T << '\n'; |
alpar@545 | 19 |
} |