RSS Feed

Frame Clock Function

Posted on Sunday, May 6, 2007 in Digital Photo Frames

Frame Clock Function
Check out this page if you are looking for Frame Clock Function

7inch LCD Multi Functions Digital Photo Frame Alarm Clock Remote White
7inch LCD Multi Functions Digital Photo Frame Alarm Clock Remote White
Paypal   US $46.99
7inch LCD Multi Functions Digital Photo Frame Alarm Clock Remote Black
7inch LCD Multi Functions Digital Photo Frame Alarm Clock Remote Black
Paypal   US $46.99
Black 7inch LCD Multi Functions Digital Photo Frame Alarm Clock Remote
Black 7inch LCD Multi Functions Digital Photo Frame Alarm Clock Remote
Paypal   US $46.98
White 7inch LCD Multi Functions Digital Photo Frame Alarm Clock Remote
White 7inch LCD Multi Functions Digital Photo Frame Alarm Clock Remote
Paypal   US $46.98

Frame Clock Function
clock() not accurate enough?

with the file inside the standard c++ libraries, clock(), on my computer, has an accuracy of 16 milliseconds. That is, although it returns the time in milliseconds, it is not accurate.

This is the amount of time for an entire drawn frame in a 60 FPS program.

I need something with the accuracy of about 1 millisecond. The answer I'm looking for is hopefully platform independant, however I wouldn't mind settling for a windows-only function call. I do not want to have to download a new library or file to do this, so anything that's included in either the standard c libraries, direct X 9, or windows libraries will be fine.

Is there anyone who could help me?

Thank you!

I'd try clock_gettime() in the time.h library. It accepts a timespec structure, which has a field for nanoseconds. The link below has some good examples of what your trying to do.

Thanks for looking at our Frame Clock Function information.


You can also go back to Digital Picture Frame for even MORE good stuff.

Comments are closed for this entry.