AMPI, BigSim: Let AMPI events record a size in the BigSim timeline
authorPhil Miller <mille121@illinois.edu>
Fri, 30 Oct 2009 16:59:38 +0000 (16:59 +0000)
committerPhil Miller <mille121@illinois.edu>
Fri, 30 Oct 2009 16:59:38 +0000 (16:59 +0000)
commita0e05a5d172cb068effbdc5b56064d744c187ff2
tree9438b12519800a6e90b366a07674072d9af8f670
parent67c442476f3afd8000c52bee73c7ca0a2a80114b
AMPI, BigSim: Let AMPI events record a size in the BigSim timeline

Modeling MPI collectives explicitly in the simulator requires
knowledge of how much data the collective is moving around. There was
previously no way to record this information explicitly.

- Add an interface in trace-bluegene to set the 'size' field of the
  current timeline entry.
- Add a call to this interface in AMPI_Allreduce.
- Refactor some duplication in AMPI_Allreduce.
- Fix a typo in AMPI_Iallreduce that would record it as
  AMPI_Allreduce.
src/ck-perf/trace-bluegene.C
src/ck-perf/trace-bluegene.h
src/libs/ck-libs/ampi/ampi.C