|
DisCostiC v2.0.0
Distributed Cost in Cluster: a cross-architecture simulator for massively parallel MPI programs
|
#include <Grid.hpp>
Public Member Functions | |
| DisCosTiC::AST_OP_TYPE | getOp (Benchmark benchmark, DisCosTiC::idNodeTypePair ID, DisCosTiC_Datatype rank, DisCosTiC_Datatype label) |
| get the nodes | |
| DisCosTiC_Datatype | getNumOps () |
| default constructor | |
| void | getTypeSortedOps (DisCosTiC::Operations &opVec) |
| get the all operations ordered by their type for all ranks and time steps | |
| void | getSortedRootOps (DisCosTiC::Operations &opVec) |
| get the initial root operations ordered by their type for all ranks and time steps | |
| void | setOp (DisCosTiC_Datatype rank, DisCosTiC_Datatype label, Benchmark benchmark, DisCosTiC::idNodeTypePair ID) |
| set the operation, if started | |
| void | unsetOp (DisCosTiC_Datatype rank, DisCosTiC_Datatype label, Benchmark benchmark, DisCosTiC::idNodeTypePair ID) |
| un set the operation, if completed | |
Public Attributes | |
| DisCosTiC_Datatype | numOps |
| private members of Grid class | |
| DisCosTiC_Datatype | numRanks |
| DisCosTiC_Datatype | myRank |
| DisCosTiC::VecDeserialNode | Nodes |
|
inline |
|
inline |
get the nodes
Definition at line 57 of file Grid.hpp.
References DisCosTiC::AST_OP_::algorithm, DisCosTiC::AST_OP_TYPE::algorithm, DisCosTiC::AST_OP_::bufSize, DisCosTiC::AST_OP_TYPE::bufSize, DisCosTiC::AST_OP_::collectiveNumRanks, DisCosTiC::AST_OP_TYPE::collectiveNumRanks, DisCosTiC::AST_OP_::collectiveRoot, DisCosTiC::AST_OP_TYPE::collectiveRoot, DisCosTiC::AST_OP_::collectiveType, DisCosTiC::AST_OP_TYPE::collectiveType, DisCosTiC::AST_OP_::depApdxStartLabel, DisCosTiC::AST_OP_::depCount, DisCosTiC::AST_OP_TYPE::depCount, DisCosTiC::AST_OP_TYPE::DepOperations, DisCosTiC::AST_OP_::depsCount, DisCosTiC::getRange(), DisCosTiC::AST_OP_::idepApdxStartLabel, DisCosTiC::AST_OP_TYPE::IdepOperations, DisCosTiC::AST_OP_::idepsCount, DisCosTiC::AST_OP_::label, DisCosTiC::AST_OP_TYPE::label, DisCosTiC::AST_OP_::mode, DisCosTiC::AST_OP_TYPE::mode, DisCosTiC::AST_OP_::network, DisCosTiC::AST_OP_TYPE::network, DisCosTiC::AST_OP_::node, DisCosTiC::AST_OP_TYPE::node, numOps, DisCosTiC::AST_OP_::tag, DisCosTiC::AST_OP_TYPE::tag, DisCosTiC::AST_OP_::target, DisCosTiC::AST_OP_TYPE::target, DisCosTiC::AST_OP_::type, and DisCosTiC::AST_OP_TYPE::type.
Referenced by DisCosTiC::Grid_Init::Grid_Init(), setOp(), and unsetOp().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
get the initial root operations ordered by their type for all ranks and time steps
Definition at line 162 of file Grid.hpp.
References DisCosTiC::DisCosTiC_OP::algorithm, DisCosTiC::DisCosTiC_OP::bufSize, DisCosTiC::DisCosTiC_OP::collectiveNumRanks, DisCosTiC::DisCosTiC_OP::collectiveRoot, DisCosTiC::DisCosTiC_OP::collectiveType, DisCosTiC::DisCosTiC_OP::label, myRank, DisCosTiC::DisCosTiC_OP::network, DisCosTiC::DisCosTiC_OP::node, Nodes, DisCosTiC::DisCosTiC_OP::rank, DisCosTiC::DisCosTiC_OP::tag, DisCosTiC::DisCosTiC_OP::target, DisCosTiC::DisCosTiC_OP::time, and DisCosTiC::DisCosTiC_OP::type.
Referenced by main().
Here is the caller graph for this function:
|
inline |
get the all operations ordered by their type for all ranks and time steps
this is a sort operation that can be used to compare DisCosTiC_OP by type and sort them with respect with that respect
Definition at line 116 of file Grid.hpp.
References DisCosTiC::DisCosTiC_OP::algorithm, DisCosTiC::DisCosTiC_OP::bufSize, DisCosTiC::DisCosTiC_OP::collectiveNumRanks, DisCosTiC::DisCosTiC_OP::collectiveRoot, DisCosTiC::DisCosTiC_OP::collectiveType, DisCosTiC::getRange(), DisCosTiC::DisCosTiC_OP::label, DisCosTiC::DisCosTiC_OP::mode, DisCosTiC::DisCosTiC_OP::network, DisCosTiC::DisCosTiC_OP::node, Nodes, DisCosTiC::DisCosTiC_OP::tag, DisCosTiC::DisCosTiC_OP::target, and DisCosTiC::DisCosTiC_OP::type.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
set the operation, if started
Definition at line 192 of file Grid.hpp.
References getOp(), DisCosTiC::getRange(), DisCosTiC::AST_OP_TYPE::IdepOperations, and Nodes.
Here is the call graph for this function:
|
inline |
un set the operation, if completed
Definition at line 212 of file Grid.hpp.
References DisCosTiC::AST_OP_TYPE::DepOperations, getOp(), DisCosTiC::getRange(), and Nodes.
Here is the call graph for this function:| DisCosTiC_Datatype DisCosTiC::Grid::myRank |
Definition at line 32 of file Grid.hpp.
Referenced by getSortedRootOps(), and DisCosTiC::Grid_Init::Grid_Init().
| DisCosTiC::VecDeserialNode DisCosTiC::Grid::Nodes |
Definition at line 33 of file Grid.hpp.
Referenced by getSortedRootOps(), getTypeSortedOps(), DisCosTiC::Grid_Init::Grid_Init(), setOp(), and unsetOp().
| DisCosTiC_Datatype DisCosTiC::Grid::numOps |
private members of Grid class
Definition at line 30 of file Grid.hpp.
Referenced by getNumOps(), getOp(), and DisCosTiC::Grid_Init::Grid_Init().
| DisCosTiC_Datatype DisCosTiC::Grid::numRanks |
Definition at line 31 of file Grid.hpp.
Referenced by DisCosTiC::Grid_Init::Grid_Init().