Changeset 718:75d36edc6bc4 in lemon-0.x for src/benchmark/bench_tools.h
- Timestamp:
- 07/21/04 09:03:20 (21 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@970
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/benchmark/bench_tools.h
r711 r718 4 4 5 5 #include<vector> 6 #include<iostream> 7 8 #include<hugo/time_measure.h> 6 9 7 10 ///An experimental typedef factory … … 24 27 25 28 ///A primitive primtest 29 30 ///\bug 2 is not a prime according to this function! 26 31 bool isPrim(int n) 27 32 { … … 70 75 }; 71 76 77 inline 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 72 85 73 86 #endif
Note: See TracChangeset
for help on using the changeset viewer.