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
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/video4linux-list