COIN-OR::LEMON - Graph Library

Changeset 1847:7cbc12e42482 in lemon-0.x for test/time_measure_test.cc


Ignore:
Timestamp:
12/05/05 18:03:31 (14 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2408
Message:
  • Changed and improved Timer interface
    • several new member functions
    • reset() -> restart() renaming
    • TimeReport?: a Timer that prints a report on destruction.
  • counter.h: a tool to measure the number of streps of algorithms.
  • New documentation module for time measuring and counting.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/time_measure_test.cc

    r1689 r1847  
    3737  for(n=0;T.realTime()<1.0;n++) ;
    3838  std::cout << T << " (" << n << " time queries)\n";
    39   T.reset();
     39  T.restart();
    4040  while(T.realTime()<2.0) ;
    4141  std::cout << T << '\n';
Note: See TracChangeset for help on using the changeset viewer.