--- libdc1394-1.2.1/examples/grab_partial_image.c~ 2006-07-01 13:54:25.000000000 +0200 +++ libdc1394-1.2.1/examples/grab_partial_image.c 2006-07-01 13:57:11.000000000 +0200 @@ -218,7 +218,7 @@ int main(int argc, char *argv[]) /*--------------------------------------------------------------------- * output elapsed time *---------------------------------------------------------------------*/ - elapsed_time = (float)(times(&tms_buf) - start_time) / CLK_TCK; + elapsed_time = (float)(times(&tms_buf) - start_time) / CLOCKS_PER_SEC; printf( "got frame %d. elapsed time: %g sec ==> %g frames/second\n", i, elapsed_time, (float)i / elapsed_time); }