Chare state Charm++ chare group class
Instantiations of ChareStateCollector comprise a processor aware Charm++ chare group. When instantiated, a new object is created on each PE and not more (as opposed to individual chares or chare array object elements). See also the Charm++ interface file charestatecollector.ci.
- static void registerReducers()
- Configure Charm++ reduction types.
static void tk::
Configure Charm++ reduction types.
Since this is a [nodeinit] routine, the runtime system executes the routine exactly once on every logical node early on in the Charm++ init sequence. Must be static as it is called without an object. See also: Section "Initializations at Program Startup" at in the Charm++ manual http:/
Start timer when constructor is called
ChareStateCollector:: insert(const std::string& ch,
const std::string& fn)
Insert new state entry.
|ch in||Chare name|
|id in||Chare thisIndex|
|pe in||Chare PE happens to reside on|
|it in||Iteration count|
|fn in||Chare member function name|
ChareStateCollector:: collect(bool error,
Collect chare state.
|error in||If true we are called due to an error, if false, user is just curious|
|cb in||Callback to use for the reduction|