Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 The "clock" function
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Brightguy




PostPosted: Fri Jan 03, 2003 12:55 am   Post subject: The "clock" function

I was just wondering, what value does the "clock" function return in Turing? I know what "wallclock" does, but I'm not so sure about this one. Thanks!
Sponsor
Sponsor
Sponsor
sponsor
Izzy




PostPosted: Fri Jan 03, 2003 6:43 am   Post subject: (No subject)

Clock returns the number of milliseconds since the process started

- Izzy
Tony




PostPosted: Fri Jan 03, 2003 1:51 pm   Post subject: (No subject)

well since the program started... I think it works for indevidual processes too, but I'm not sure on the use of the NameSpace to get that value... maybe calling the clock() inside the process? You'd have to try that out.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Brightguy




PostPosted: Sat Jan 04, 2003 3:32 pm   Post subject: Re: The "clock" function

Thanks, I incorporated it into my Tetris program! Smile
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: