[ET Trac] [Einstein Toolkit] #688: Carpet timers are slow
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Tue Nov 29 13:21:52 CST 2011
#688: Carpet timers are slow
-----------------------------------+----------------------------------------
Reporter: eschnett | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: EinsteinToolkit thorn | Version:
Keywords: |
-----------------------------------+----------------------------------------
The Carpet timers (file CactusTimers.cc) performs unnecessary work that is
not necessary unless timers_verbose is given. It calls the flesh to obtain
the timer name, converts this to a C++ string (malloc/free), and back to a
C string. This is due to the API of msgStart and msgStop.
The routine serialise changes the output stream properties by modifying
the output format (scientific) and the precision. This should be undone
afterwards in the same routine.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/688>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list