DisCostiC v2.0.0
Distributed Cost in Cluster: a cross-architecture simulator for massively parallel MPI programs
Loading...
Searching...
No Matches
UserInterface::ChromeTraceViz Class Reference

end class TimeRankOP More...

#include <TimeRankOP.hpp>

Public Member Functions

 ChromeTraceViz (UserInterface::ConfigParser *args_info, DisCosTiC_Datatype rank, DisCosTiC_Datatype numRanks)
 
void args (std::string args_name, DisCosTiC_Indextype rank)
 
void completeEvents (std::string name, DisCosTiC_Indextype rank, DisCosTiC_Indextype tid, std::string time, std::string duration, std::string color)
 
void durationEventBegin (std::string name, DisCosTiC_Indextype rank, DisCosTiC_Indextype tid, std::string time)
 
void durationEventEnd (std::string name, DisCosTiC_Indextype rank, DisCosTiC_Indextype tid, std::string time)
 
void flowEventBegin (std::string name, DisCosTiC_Indextype source, DisCosTiC_Indextype source_tid, std::string time, DisCosTiC_Indextype index)
 
void flowEventEnd (std::string name, DisCosTiC_Indextype dest, DisCosTiC_Indextype dest_tid, std::string time, DisCosTiC_Indextype index)
 
void closeFile ()
 
 ~ChromeTraceViz ()
 

Public Attributes

std::map< std::string, DisCosTiC_Indextype > arc
 

Private Attributes

std::ofstream ofs
 
std::string filename
 
DisCosTiC_Indextype max_rank_id = 0
 
DisCosTiC_Indextype max_tid = 0
 
DisCosTiC_Indextype numRanks = 0
 
DisCosTiC_Indextype rank = -1
 

Detailed Description

end class TimeRankOP

Definition at line 152 of file TimeRankOP.hpp.

Constructor & Destructor Documentation

◆ ChromeTraceViz()

UserInterface::ChromeTraceViz::ChromeTraceViz ( UserInterface::ConfigParser * args_info,
DisCosTiC_Datatype rank,
DisCosTiC_Datatype numRanks )
inline

Definition at line 166 of file TimeRankOP.hpp.

References durationEventBegin(), durationEventEnd(), filename, UserInterface::ConfigParser::getValue(), numRanks, ofs, and rank.

+ Here is the call graph for this function:

◆ ~ChromeTraceViz()

UserInterface::ChromeTraceViz::~ChromeTraceViz ( )
inline

Definition at line 319 of file TimeRankOP.hpp.

Member Function Documentation

◆ args()

void UserInterface::ChromeTraceViz::args ( std::string args_name,
DisCosTiC_Indextype rank )
inline

Definition at line 185 of file TimeRankOP.hpp.

References arc, max_rank_id, max_tid, and rank.

Referenced by main().

+ Here is the caller graph for this function:

◆ closeFile()

void UserInterface::ChromeTraceViz::closeFile ( )
inline

print metadata for trace to output file

Definition at line 288 of file TimeRankOP.hpp.

References ofs.

Referenced by main().

+ Here is the caller graph for this function:

◆ completeEvents()

void UserInterface::ChromeTraceViz::completeEvents ( std::string name,
DisCosTiC_Indextype rank,
DisCosTiC_Indextype tid,
std::string time,
std::string duration,
std::string color )
inline

Definition at line 195 of file TimeRankOP.hpp.

References ofs, and rank.

Referenced by main().

+ Here is the caller graph for this function:

◆ durationEventBegin()

void UserInterface::ChromeTraceViz::durationEventBegin ( std::string name,
DisCosTiC_Indextype rank,
DisCosTiC_Indextype tid,
std::string time )
inline

Definition at line 216 of file TimeRankOP.hpp.

References ofs, and rank.

Referenced by ChromeTraceViz().

+ Here is the caller graph for this function:

◆ durationEventEnd()

void UserInterface::ChromeTraceViz::durationEventEnd ( std::string name,
DisCosTiC_Indextype rank,
DisCosTiC_Indextype tid,
std::string time )
inline

Definition at line 233 of file TimeRankOP.hpp.

References ofs, and rank.

Referenced by ChromeTraceViz().

+ Here is the caller graph for this function:

◆ flowEventBegin()

void UserInterface::ChromeTraceViz::flowEventBegin ( std::string name,
DisCosTiC_Indextype source,
DisCosTiC_Indextype source_tid,
std::string time,
DisCosTiC_Indextype index )
inline

Definition at line 250 of file TimeRankOP.hpp.

References ofs.

Referenced by main().

+ Here is the caller graph for this function:

◆ flowEventEnd()

void UserInterface::ChromeTraceViz::flowEventEnd ( std::string name,
DisCosTiC_Indextype dest,
DisCosTiC_Indextype dest_tid,
std::string time,
DisCosTiC_Indextype index )
inline

Definition at line 269 of file TimeRankOP.hpp.

References ofs.

Referenced by main().

+ Here is the caller graph for this function:

Member Data Documentation

◆ arc

std::map<std::string, DisCosTiC_Indextype> UserInterface::ChromeTraceViz::arc

Definition at line 164 of file TimeRankOP.hpp.

Referenced by args(), and main().

◆ filename

std::string UserInterface::ChromeTraceViz::filename
private

Definition at line 157 of file TimeRankOP.hpp.

Referenced by ChromeTraceViz().

◆ max_rank_id

DisCosTiC_Indextype UserInterface::ChromeTraceViz::max_rank_id = 0
private

Definition at line 158 of file TimeRankOP.hpp.

Referenced by args().

◆ max_tid

DisCosTiC_Indextype UserInterface::ChromeTraceViz::max_tid = 0
private

Definition at line 159 of file TimeRankOP.hpp.

Referenced by args().

◆ numRanks

DisCosTiC_Indextype UserInterface::ChromeTraceViz::numRanks = 0
private

Definition at line 160 of file TimeRankOP.hpp.

Referenced by ChromeTraceViz().

◆ ofs

std::ofstream UserInterface::ChromeTraceViz::ofs
private

◆ rank

DisCosTiC_Indextype UserInterface::ChromeTraceViz::rank = -1
private

The documentation for this class was generated from the following file: