Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Milliseconds



Hello!

New to this list.  I'm in the process of porting several PC
application to Mac (Carbon / C++ / OpenGL).  The one last piece I
can't seem to solve is how to retrieve the milliseconds() from the
system clock.  I have an animation that needs to enforce a certain
framerate.  I'm using usleep() to wait between frames, but I need the
milliseconds to determine how long to wait!

Any help would be greatly appreciated.

Dan
-----
http://www.shiffman.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.