Public Member Functions | |
DotVertexRenderer (ExecStreamGraphImpl &graphInit) | |
void | operator() (std::ostream &out, ExecStreamId const &streamId) const |
Private Attributes | |
ExecStreamGraphImpl & | graph |
Definition at line 704 of file ExecStreamGraph.cpp.
ExecStreamGraphImpl::DotVertexRenderer::DotVertexRenderer | ( | ExecStreamGraphImpl & | graphInit | ) | [inline] |
void ExecStreamGraphImpl::DotVertexRenderer::operator() | ( | std::ostream & | out, | |
ExecStreamId const & | streamId | |||
) | const [inline] |
Definition at line 713 of file ExecStreamGraph.cpp.
References ExecStreamGraphImpl::getStream(), graph, and Backtrace::writeDemangled().
00714 { 00715 SharedExecStream pStream = graph.getStream(streamId); 00716 out << "[label=\"{"; 00717 if (pStream) { 00718 out << streamId; 00719 out << "|"; 00720 if (dynamic_cast<ScratchBufferExecStream *>(pStream.get())) { 00721 out << "MEMBUF"; 00722 } else { 00723 Backtrace::writeDemangled(out, typeid(*pStream).name()); 00724 out << "|"; 00725 out << pStream->getName(); 00726 } 00727 } else { 00728 out << "SINK"; 00729 } 00730 out << "}\"]"; 00731 }