← Back to team overview

dolfin team mailing list archive

Re: Bug in dolfin::Logger::timing: reset parameter has no effect

 

On Wed, Sep 01, 2010 at 03:06:00PM +0200, Florian Rathgeber wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> The parameter "reset" to "dolfin::Logger::timing" has no effect, the
> timing is always cleared. Didn't want to file a bug for such a small thing.
>
> Florian

Are you sure?

In Logger.cpp inside the function Logger::summary, there is

  // Clear timings
  if (reset)
    timings.clear();

--
Anders



References