COIN-OR::LEMON - Graph Library

Changeset 1689:f1795dafe42c in lemon-0.x for benchmark


Ignore:
Timestamp:
09/28/05 10:14:39 (14 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2213
Message:
  • runningTimeTest(): a tool to measure running times more precisely.
  • TimeStamp? now uses double to count cpu-times
  • 'get's removed from the query functions of Times and TimeStamp?
Location:
benchmark
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • benchmark/bench_tools.h

    r1435 r1689  
    8484{
    8585  lemon::TimeStamp S(T);
    86   std::cout << ID << ' ' << S.getUserTime() << ' '
    87             << S.getSystemTime() << ' ' << S.getRealTime() << std::endl;
     86  std::cout << ID << ' ' << S.userTime() << ' '
     87            << S.systemTime() << ' ' << S.realTime() << std::endl;
    8888}
    8989
     
    9292///
    9393template<class Graph>
    94 void addHiperCube(Graph &G,int dim,std::vector<typename Graph::Node> &nodes)
     94void addHyperCube(Graph &G,int dim,std::vector<typename Graph::Node> &nodes)
    9595{
    9696  GRAPH_TYPEDEF_FACTORY(Graph);
     
    108108///
    109109template<class Graph>
    110 void addBiDirHiperCube(Graph &G,int dim,std::vector<typename Graph::Node>&nodes)
     110void addBiDirHyperCube(Graph &G,int dim,std::vector<typename Graph::Node>&nodes)
    111111{
    112112  GRAPH_TYPEDEF_FACTORY(Graph);
  • benchmark/bfs-bench.cc

    r1632 r1689  
    118118  T.reset();
    119119  vector<Node> nodes;
    120   addBiDirHiperCube(G,dim,nodes);
     120  addBiDirHyperCube(G,dim,nodes);
    121121
    122122  PrintTime("GENGRAPH",T);
  • benchmark/hcube.cc

    r1632 r1689  
    5656  T.reset();
    5757  vector<Node> nodes;
    58   addBiDirHiperCube(G,dim,nodes);
     58  addBiDirHyperCube(G,dim,nodes);
    5959
    6060  PrintTime("GENGRAPH",T);
Note: See TracChangeset for help on using the changeset viewer.