Changeset 1689:f1795dafe42c in lemon-0.x for benchmark
- Timestamp:
- 09/28/05 10:14:39 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2213
- Location:
- benchmark
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/bench_tools.h
r1435 r1689 84 84 { 85 85 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; 88 88 } 89 89 … … 92 92 /// 93 93 template<class Graph> 94 void addH iperCube(Graph &G,int dim,std::vector<typename Graph::Node> &nodes)94 void addHyperCube(Graph &G,int dim,std::vector<typename Graph::Node> &nodes) 95 95 { 96 96 GRAPH_TYPEDEF_FACTORY(Graph); … … 108 108 /// 109 109 template<class Graph> 110 void addBiDirH iperCube(Graph &G,int dim,std::vector<typename Graph::Node>&nodes)110 void addBiDirHyperCube(Graph &G,int dim,std::vector<typename Graph::Node>&nodes) 111 111 { 112 112 GRAPH_TYPEDEF_FACTORY(Graph); -
benchmark/bfs-bench.cc
r1632 r1689 118 118 T.reset(); 119 119 vector<Node> nodes; 120 addBiDirH iperCube(G,dim,nodes);120 addBiDirHyperCube(G,dim,nodes); 121 121 122 122 PrintTime("GENGRAPH",T); -
benchmark/hcube.cc
r1632 r1689 56 56 T.reset(); 57 57 vector<Node> nodes; 58 addBiDirH iperCube(G,dim,nodes);58 addBiDirHyperCube(G,dim,nodes); 59 59 60 60 PrintTime("GENGRAPH",T);
Note: See TracChangeset
for help on using the changeset viewer.