I think MaxScripters know about timeStamp() function in Max. It gives time-of-day in milliseconds and is useful in time calculations. For example if we need to check rendering time:
start = timeStamp()
render()
end = timeStamp()
format "Processing: % seconds\n" ((end - start) / 1000.0)
Also timeStamp() is useful in scripts testing where we need to compare the speed of execution of different expressions with the same result.
Sunday, August 2, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Thanks for your comment