← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Add support for setting timers and printing summaries of tasks.

 

After updating: 

Timer.h is missing:

scons ....
..............
dolfin/fem/Assembler.cpp:12:33: error: dolfin/common/Timer.h: No such file or 
directory
..............


On Friday 13 June 2008, DOLFIN wrote:
> One or more new changesets pushed to the primary dolfin repository.
> A short summary of the last three changesets is included below.
>
> changeset:   4299:ed9eda2a501f333ea951170e4e7a78eaadd138f8
> tag:         tip
> user:        Anders Logg <logg@xxxxxxxxx>
> date:        Fri Jun 13 11:56:07 2008 +0200
> files:       demo/pde/poisson/python/demo.py dolfin/common/dolfin_common.h
> dolfin/fem/Assembler.cpp dolfin/la/KrylovSolver.h dolfin/la/LUSolver.h
> dolfin/la/solve.cpp dolfin/log/Logger.cpp dolfin/log/Logger.h
> dolfin/log/log.cpp dolfin/log/log.h dolfin/ode/ODESolution.h
> dolfin/swig/dolfin_docstrings.i dolfin/swig/dolfin_headers.i
> site-packages/dolfin/__init__.py description:
> Add support for setting timers and printing summaries of tasks.
>
> A timer can be used for timing tasks. The basic usage is
>
>   Timer timer("Assembling over cells");
>
> The timer is started at construction and timing ends
> when the timer is destroyed (goes out of scope). It is
> also possible to start and stop a timer explicitly by
>
>   timer.start();
>   timer.stop();
>
> Timings are stored globally and a summary may be printed
> by calling
>
>   summary();
>
> Summary report needs to be improved.
>
>
> changeset:   4298:44dcd7f85bb48bb29d0abefd772568cf641556c1
> parent:      4295:f3cc241c1606edcb019f1c81b4cee81369393617
> parent:      4297:db54a35e991517e4634b23be52642392480cbbe6
> user:        Anders Logg <logg@xxxxxxxxx>
> date:        Thu Jun 12 22:07:55 2008 +0200
> files:
> description:
> Merge assembly benchmark fixes by Ilmar
>
>
> changeset:   4297:db54a35e991517e4634b23be52642392480cbbe6
> user:        Ilmar Wilbers <ilmarw@xxxxxxxxx>
> date:        Thu Jun 12 19:12:17 2008 +0200
> files:       bench/fem/assembly/run_benchmark.py
> description:
> Minor fixes assembly bench.
>
> ----------------------------------------------------------------------
> For more details, visit http://www.fenics.org/hg/dolfin
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev



-- 
Nuno David Lopes



Follow ups

References