dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #20131
[Bug 628690] Re: Timing broken
** Changed in: dolfin
Status: Confirmed => Fix Committed
--
Timing broken
https://bugs.launchpad.net/bugs/628690
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
Status in DOLFIN: Fix Committed
Bug description:
Timing seems to be broken. Strange numbers are coming out from std::clock(). The precision is very low with many trailing zeros.
The following should print something like 1.0 but it prints 0.0:
python -c "from dolfin import *; import time; tic(); time.sleep(1); print toc()"
References