|
DisCostiC v2.0.0
Distributed Cost in Cluster: a cross-architecture simulator for massively parallel MPI programs
|
end class TimeRankOP More...
#include <TimeRankOP.hpp>
Public Member Functions | |
| TimeRankOP (UserInterface::ConfigParser *args_info, DisCosTiC_Datatype rank, int totalrank) | |
| constructor that initializes the coordinates | |
| void | osend (DisCosTiC_Datatype rank, DisCosTiC_Datatype start, DisCosTiC_Datatype end, DisCosTiC_Datatype cpu, float r=0.0, float g=0.0, float b=1.0) |
| print time taken by overhead at sender side to output file | |
| void | orecv (DisCosTiC_Datatype rank, DisCosTiC_Datatype start, DisCosTiC_Datatype end, DisCosTiC_Datatype cpu, float r=0.0, float g=0.0, float b=1.0) |
| print time taken by overhead at receiver side to output file | |
| void | comp (DisCosTiC_Datatype rank, DisCosTiC_Datatype start, DisCosTiC_Datatype end, DisCosTiC_Datatype cpu, float r=1.0, float g=0.0, float b=0.0) |
| print time taken by execution to output file | |
| void | msg (DisCosTiC_Datatype source, DisCosTiC_Datatype dest, DisCosTiC_Datatype starttime, DisCosTiC_Datatype endtime, DisCosTiC_Datatype size, DisCosTiC_Datatype G, float r=0.0, float g=0.0, float b=1.0) |
| print time taken by message transmission to output file | |
| ~TimeRankOP () | |
| destructor | |
Private Member Functions | |
| void | ranknum (DisCosTiC_Datatype numranks) |
| print number of processes to output file | |
| void | file_write (bool append) |
| print all events (i.e., osend, orecv, execution, msg transmission) to output file | |
Private Attributes | |
| std::string | content |
| private variables | |
| std::string | filename |
end class TimeRankOP
Definition at line 20 of file TimeRankOP.hpp.
|
inline |
constructor that initializes the coordinates
| CFG_args | and number of ranks |
Definition at line 63 of file TimeRankOP.hpp.
References filename, UserInterface::ConfigParser::getValue(), and ranknum().
Here is the call graph for this function:
|
inline |
destructor
Definition at line 146 of file TimeRankOP.hpp.
|
inline |
print time taken by execution to output file
| rank | (process number), start (time), end (time), cpu (core number) |
Definition at line 109 of file TimeRankOP.hpp.
References AppendString, and content.
Referenced by main().
Here is the caller graph for this function:
|
inlineprivate |
print all events (i.e., osend, orecv, execution, msg transmission) to output file
| append |
Definition at line 41 of file TimeRankOP.hpp.
|
inline |
print time taken by message transmission to output file
| rank | (process number), start (time), end (time), cpu (core number) |
Definition at line 127 of file TimeRankOP.hpp.
References AppendString, and content.
|
inline |
print time taken by overhead at receiver side to output file
| rank | (process number), start (time), end (time), cpu (core number) |
Definition at line 91 of file TimeRankOP.hpp.
References AppendString, and content.
Referenced by main().
Here is the caller graph for this function:
|
inline |
print time taken by overhead at sender side to output file
| rank | (process number), start (time), end (time), cpu (core number) |
Definition at line 73 of file TimeRankOP.hpp.
References AppendString, and content.
Referenced by main().
Here is the caller graph for this function:
|
inlineprivate |
print number of processes to output file
| numranks | (total number of process) |
Definition at line 30 of file TimeRankOP.hpp.
References AppendString, and content.
Referenced by TimeRankOP().
Here is the caller graph for this function:
|
private |
private variables
Definition at line 24 of file TimeRankOP.hpp.
Referenced by comp(), file_write(), msg(), orecv(), osend(), and ranknum().
|
private |
Definition at line 24 of file TimeRankOP.hpp.
Referenced by file_write(), and TimeRankOP().