Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > time

Reply
 
 
Andrew Bullock
Guest
Posts: n/a
 
      02-06-2005
Hi


How can i make a "timer" which will enable me to call a procedure x
number of times per second?


I've tried using tv_usec and clock but i cant quite get the code right.

Im using UNIX and g3++


Any help would be greatly appreciated.

Andrew Bullock
 
Reply With Quote
 
 
 
 
davidrubin@warpmail.net
Guest
Posts: n/a
 
      02-06-2005
select or poll

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is time.time() < time.time() always true? flamesrock Python 8 11-24-2006 06:51 AM
Re: interpreting the fractional portion of time.clock() vs time.time(0measurements Peter Hansen Python 0 02-22-2006 02:02 PM
Re: interpreting the fractional portion of time.clock() vs time.time()measurements Peter Hansen Python 0 02-22-2006 12:03 AM
time.clock() or time.time() peterbe@gmail.com Python 8 08-05-2005 01:51 PM
delta time = time stop - time start engsol Python 2 01-26-2004 12:06 PM



Advertisments