COIN-OR::LEMON - Graph Library

Changeset 1069:7b81a36809c6 in lemon-0.x for src/test


Ignore:
Timestamp:
01/11/05 10:04:08 (20 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1465
Message:
  • Minor correction in time_measure.h
  • A bit more meaningful test in time_measure_test.cc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/test/time_measure_test.cc

    r921 r1069  
    2626int main()
    2727{
    28   int j=0;
    2928  Timer T;
    30   for(int i=0;i<100;i++) j+=2;
     29  while(T.getRealTime()<1.0) ;
    3130  std::cout << T << '\n';
    3231  T.reset();
    33   for(int i=0;i<100;i++) j+=2;
     32  while(T.getRealTime()<2.0) ;
    3433  std::cout << T << '\n';
    3534 
Note: See TracChangeset for help on using the changeset viewer.