← Back to team overview

yade-users team mailing list archive

Re: [Question #705760]: How to get the runtime or CPU time?

 

Question #705760 on Yade changed:
https://answers.launchpad.net/yade/+question/705760

    Status: Open => Answered

Karol Brzezinski proposed the following answer:
Hi Danny,

It may be a little bit of a workaround, but every periodic engine (e.g. PyRunner) stores the information about the time of the last run. You could use it to track the time of the simulation. For example, if the last engine in the list is PyRunner, you can check:
O.engines[-1].realLast

Cheers,
Karol

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.