Hello again! I have another programming question. In my program i need to use timers. To do this, i use clock(). clock() works fine until i initialize v4l2 and start grabbing: { clock_t ini, end; ini=clock(); // <- ok MakeAnything(); end=clock() // <- this works InitializeV4L2(); while (!end) { ini=clock(); // <- this doesn't work Grab(); MakeAnotherThing(); end=clock(); // <- nor do this } } I am grabbing using 4 buffers of memory. I wait for the filled buffers witch select() Is the select() affecting clock()?? Bye _______________________________________________________________ Yahoo! Messenger Nueva versión: Webcam, voz, y mucho más ¡Gratis! Descárgalo ya desde http://messenger.yahoo.es