Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add some support to bench the sequential and parallel parts of a simulation
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 22 Jul 2012 10:17:20 +0000 (12:17 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 22 Jul 2012 10:17:20 +0000 (12:17 +0200)
commitf6d9fb60fb5767a9b41ab1b36f024432bfa57850
tree475d937c375fce0ed51f9275d98a4864955832f3
parent1b1c8cc765c4e5fb6047913a63a8579018aaad03
Add some support to bench the sequential and parallel parts of a simulation

This is activated by defining the TIME_BENCH_AMDAHL macro at compile
time (for example by decomenting its definition in smx_private.h).

This is useful to evaluate the maximal possible speedup of a given
simulation by applying the Amdahl Law.

This could be changed into a command line flag at some point, but we
first have to assess the performance impact of playing that much with
the timers (should be limited, but who knows?).

The initial patch was from Jean-Noel Quintin, thanks for that!
src/simix/smx_context_raw.c
src/simix/smx_global.c
src/simix/smx_private.h