Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Yet again change the way SMPI_SAMPLE_MACRO works
authordegomme <adegomme@users.noreply.github.com>
Tue, 26 Feb 2019 10:58:12 +0000 (11:58 +0100)
committerdegomme <adegomme@users.noreply.github.com>
Tue, 26 Feb 2019 12:08:02 +0000 (13:08 +0100)
commit68948e0bf68283fd55c3697ba839a78f12424f36
tree1d9e42c5f14e32a1f8429efd95c2e028e5c5e787
parent3e79165b3c7d3ebaa59d0bf6dd132987a14a9373
Yet again change the way SMPI_SAMPLE_MACRO works
There is no need anymore to have the body of the loop inside the macro. Kudos to Arnaud L for the ideas.

now usage is just turning
for(x;y;z) into SMPI_SAMPLE_GLOBAL(x,y,z,iters,thres)

Time injection will be done only once for all the section, speeding up the simulation.

TODO : iterator value will not be correct at the end of the loop for now.
Not important if iterator is local to the loop, but may be annoying if not.
examples/smpi/NAS/ep.c
include/smpi/smpi.h
src/smpi/internals/smpi_bench.cpp
teshsuite/smpi/macro-sample/macro-sample.c