Question #705760 on Yade changed:
https://answers.launchpad.net/yade/+question/705760
Status: Answered => Solved
Danny (Dingeman) van der Haven confirmed that the question is solved:
Thank you all! Those suggestions indeed sovled my problem.
--
You received this question notification becaus
Question #705760 on Yade changed:
https://answers.launchpad.net/yade/+question/705760
Bruno Chareyre proposed the following answer:
Python's time.time() is enough in many cases, as long as you don't need
per-engine data or nano-second accuracy.
t1 = time.time()
O.run(...)
realTime = time.time() -
Question #705760 on Yade changed:
https://answers.launchpad.net/yade/+question/705760
Jérôme Duriez proposed the following answer:
Hi,
There should be no problem in using timing module (have you "from yade
import timing" first ?). Using time.time Python functions is still not a
bad idea though as
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
New question #705760 on Yade:
https://answers.launchpad.net/yade/+question/705760
Hi all!
I would like to time the running time of the simulation at various stages. With
this I mean the CPU time or the actual real-world time it take to run the
simulation.
I have tried the instructions at https
5 matches
Mail list logo