forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

timing... what to use.

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
HexDump



Joined: 07 Jun 2005
Posts: 70

PostPosted: Thu Jul 14, 2005 7:33 am    Post subject: timing... what to use. Reply with quote

Hi,

What functions are you using to sync things in your programs? Does exist a performance counter like pc?.

Thanks in advance,
HexDump.
Back to top
View user's profile Send private message
inomine



Joined: 05 May 2005
Posts: 53

PostPosted: Thu Jul 14, 2005 8:57 am    Post subject: Reply with quote

You mean threads and semaphores or just a waiting for screen-refresh?
Back to top
View user's profile Send private message
HexDump



Joined: 07 Jun 2005
Posts: 70

PostPosted: Thu Jul 14, 2005 7:51 pm    Post subject: Reply with quote

No I donīt mean threads, I mean getting a time to pass to the application to excecute things for this elapsed time.

Thanks in advance,
HexDump.
Back to top
View user's profile Send private message
Treat



Joined: 26 Sep 2004
Posts: 16

PostPosted: Thu Jul 14, 2005 8:19 pm    Post subject: Reply with quote

you can use clock() or time() from time.h
http://www.cppreference.com/stddate/
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group