Changeset 1069:7b81a36809c6 in lemon-0.x for src/test
- Timestamp:
- 01/11/05 10:04:08 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1465
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/test/time_measure_test.cc
r921 r1069 26 26 int main() 27 27 { 28 int j=0;29 28 Timer T; 30 for(int i=0;i<100;i++) j+=2;29 while(T.getRealTime()<1.0) ; 31 30 std::cout << T << '\n'; 32 31 T.reset(); 33 for(int i=0;i<100;i++) j+=2;32 while(T.getRealTime()<2.0) ; 34 33 std::cout << T << '\n'; 35 34
Note: See TracChangeset
for help on using the changeset viewer.