COIN-OR::LEMON - Graph Library

Changeset 718:75d36edc6bc4 in lemon-0.x for src/benchmark/bench_tools.h


Ignore:
Timestamp:
07/21/04 09:03:20 (17 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@970
Message:

Ready to run the first test series.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/benchmark/bench_tools.h

    r711 r718  
    44
    55#include<vector>
     6#include<iostream>
     7
     8#include<hugo/time_measure.h>
    69
    710///An experimental typedef factory
     
    2427
    2528///A primitive primtest
     29
     30///\bug 2 is not a prime according to this function!
    2631bool isPrim(int n)
    2732{
     
    7075};
    7176
     77inline void PrintTime(char *ID,hugo::Timer &T)
     78{
     79  hugo::TimeStamp S(T);
     80  std::cout << ID << ' ' << S.getUserTime() << ' '
     81            << S.getSystemTime() << ' ' << S.getRealTime() << std::endl;
     82}
     83
     84 
    7285
    7386#endif
Note: See TracChangeset for help on using the changeset viewer.