← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Use Table for formatting summary of timings in summary()

 

One or more new changesets pushed to the primary dolfin repository.
A short summary of the last three changesets is included below.

changeset:   4473:9684fcf5d29cc09c2f7a6d72a71923c3fc68ae1b
tag:         tip
user:        Anders Logg <logg@xxxxxxxxx>
date:        Mon Jul 21 00:24:38 2008 +0200
files:       demo/pde/poisson/python/demo.py dolfin/log/Logger.cpp dolfin/log/Table.cpp dolfin/log/Table.h
description:
Use Table for formatting summary of timings in summary()


changeset:   4472:baffcdcd2ed24bcd405f9a8b127465211da246ea
user:        Anders Logg <logg@xxxxxxxxx>
date:        Sun Jul 20 23:58:32 2008 +0200
files:       ChangeLog dolfin/log/Table.cpp dolfin/log/Table.h dolfin/log/dolfin_log.h sandbox/misc/main.cpp
description:
Add class Table for pretty-printing of tables (for example assembly
benchmark results). Example usage:

  Table table;

  table("uBLAS",  "Assemble") = 0.010;
  table("uBLAS",  "Solve")    = 0.020;
  table("PETSc",  "Assemble") = 0.011;
  table("PETSc",  "Solve")    = 0.019;
  table("Epetra", "Assemble") = 0.012;
  table("Epetra", "Solve")    = 0.018;

  table.disp();

Gives the following output:

          |   Init  Assemble
  --------------------------
  uBLAS   |   0.01      0.02
  PETSc   |  0.011     0.019
  Epetra  |  0.012     0.018


changeset:   4471:3c837e1bbedf94b796b0cb1d3a62cc5c2eef2734
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Sun Jul 20 21:52:03 2008 +0100
files:       dolfin/la/UmfpackLUSolver.cpp
description:
Work on getting #ifdefs right.

----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin