COIN-OR::LEMON - Graph Library

Changeset 117:67253d52b284 in lemon-0.x for src/work/alpar


Ignore:
Timestamp:
02/22/04 16:17:58 (18 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@152
Message:

Timer class for measuring user/system time added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/alpar/f_ed_ka_demo.cc

    r108 r117  
    3232  int ret;
    3333  double pre_time=currTime();
     34  Timer ts;
     35 
    3436  ret = maxFlow(G,flow,cap,s,t);
    3537  double post_time=currTime();
     38  std::cout << "ellapsed time:" << ts << std::endl;
     39
    3640  //std::cout << "maximum flow: "<< std::endl;
    3741  //for(EachEdgeIt e=G.first<EachEdgeIt>(); e.valid(); ++e) {
Note: See TracChangeset for help on using the changeset viewer.