time functions?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Heretic
Posts: 33
Joined: Thu Feb 02, 2006 3:22 pm
Location: Pittsburgh, PA, USA
Contact:

time functions?

Post by Heretic »

Is there any sort of way to use clocks/time/anything to time things on this system? I think I remember a function that pauses for a given time but can't remember it. It would be nice though if there way a function that returned the current ms time, so that framerate could be controlled effectively. Anything I can do?
http://omegagames.netfirms.com -- Support struggling programmers by suffering through their crappy games! (Ok, you don't have to...)
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Use clock() and time() and sleep() and other usual functions.
Heretic
Posts: 33
Joined: Thu Feb 02, 2006 3:22 pm
Location: Pittsburgh, PA, USA
Contact:

Post by Heretic »

where are these defined in the pspsdk?

nm, i found them...
http://omegagames.netfirms.com -- Support struggling programmers by suffering through their crappy games! (Ok, you don't have to...)
Post Reply