Computer Science Canada

The "clock" function

Author:  Brightguy [ 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!

Author:  Izzy [ Fri Jan 03, 2003 6:43 am ]
Post subject: 

Clock returns the number of milliseconds since the process started

- Izzy

Author:  Tony [ Fri Jan 03, 2003 1:51 pm ]
Post 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.

Author:  Brightguy [ Sat Jan 04, 2003 3:32 pm ]
Post subject:  Re: The "clock" function

Thanks, I incorporated it into my Tetris program! Smile


: