changeset 2377 | 83775fab25dc |
parent 1972 | 487a868e30e5 |
child 2391 | 14a343be7a5a |
6:fb5cbb10fc8f | 7:fd5ebf76fe7d |
---|---|
41 } |
41 } |
42 |
42 |
43 int main() |
43 int main() |
44 { |
44 { |
45 Timer T; |
45 Timer T; |
46 int n; |
46 unsigned int n; |
47 for(n=0;T.realTime()<1.0;n++) ; |
47 for(n=0;T.realTime()<1.0;n++) ; |
48 std::cout << T << " (" << n << " time queries)\n"; |
48 std::cout << T << " (" << n << " time queries)\n"; |
49 T.restart(); |
49 T.restart(); |
50 while(T.realTime()<2.0) ; |
50 while(T.realTime()<2.0) ; |
51 std::cout << T << '\n'; |
51 std::cout << T << '\n'; |