Classes | |
struct | node |
Public Member Functions | |
DependencyGraph (const ParameterSet &, ActivityRegistry &) | |
void | postBeginJob () |
void | preBeginJob (PathsAndConsumesOfModulesBase const &, ProcessContext const &) |
void | preSourceConstruction (ModuleDescription const &) |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Types | |
enum | EDMModuleType { EDMModuleType::Unknown, EDMModuleType::Source, EDMModuleType::ESSource, EDMModuleType::ESProducer, EDMModuleType::EDAnalyzer, EDMModuleType::EDProducer, EDMModuleType::EDFilter, EDMModuleType::OutputModule } |
using | GraphvizAttributes = std::map< std::string, std::string > |
Private Member Functions | |
bool | highlighted (std::string const &module) |
Static Private Member Functions | |
static const char * | edmModuleType (edm::ModuleDescription const &module) |
static EDMModuleType | edmModuleTypeEnum (edm::ModuleDescription const &module) |
Private Attributes | |
std::string | m_filename |
boost::subgraph< boost::adjacency_list< boost::vecS, boost::vecS, boost::directedS, boost::property< boost::vertex_attribute_t, GraphvizAttributes, node >, boost::property< boost::edge_index_t, int, boost::property< boost::edge_attribute_t, GraphvizAttributes > >, boost::property< boost::graph_name_t, std::string, boost::property< boost::graph_graph_attribute_t, GraphvizAttributes, boost::property< boost::graph_vertex_attribute_t, GraphvizAttributes, boost::property< boost::graph_edge_attribute_t, GraphvizAttributes > > > > > > | m_graph |
std::unordered_set< std::string > | m_highlightModules |
bool | m_initialized |
bool | m_showPathDependencies |
Static Private Attributes | |
static constexpr const char * | module_type_desc [] |
static constexpr const char * | shapes [] |
Definition at line 55 of file DependencyGraph.cc.
|
private |
Definition at line 96 of file DependencyGraph.cc.
|
strongprivate |
Enumerator | |
---|---|
Unknown | |
Source | |
ESSource | |
ESProducer | |
EDAnalyzer | |
EDProducer | |
EDFilter | |
OutputModule |
Definition at line 68 of file DependencyGraph.cc.
DependencyGraph::DependencyGraph | ( | const ParameterSet & | config, |
ActivityRegistry & | registry | ||
) |
Definition at line 168 of file DependencyGraph.cc.
References postBeginJob(), preBeginJob(), preSourceConstruction(), edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPreBeginJob(), and edm::ActivityRegistry::watchPreSourceConstruction().
|
staticprivate |
Definition at line 156 of file DependencyGraph.cc.
References edm::edmModuleTypeEnum(), callgraph::module, and edm::module_type_desc.
|
staticprivate |
Definition at line 135 of file DependencyGraph.cc.
References mixOne_cfi::ESProducer, edm::pset::Registry::instance(), callgraph::module, edm::module_type_desc, muonDTDigis_cfi::pset, CollectionTags_cfi::Source, AlCaHLTBitMon_QueryRunRegistry::string, submitPVValidationJobs::t, reco::Unknown, and findQualityFiles::v.
Referenced by preBeginJob().
|
static |
Definition at line 160 of file DependencyGraph.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineprivate |
Definition at line 66 of file DependencyGraph.cc.
References callgraph::module.
Referenced by preBeginJob(), and preSourceConstruction().
void DependencyGraph::postBeginJob | ( | ) |
Definition at line 330 of file DependencyGraph.cc.
References m_filename, m_graph, m_initialized, and MillePedeFileConverter_cfg::out.
Referenced by DependencyGraph().
void DependencyGraph::preBeginJob | ( | PathsAndConsumesOfModulesBase const & | pathsAndConsumes, |
ProcessContext const & | context | ||
) |
Definition at line 208 of file DependencyGraph.cc.
References edm::PathsAndConsumesOfModulesBase::allModules(), OfflineOutput_cfi::consumer, visDQMUpload::context, edmModuleTypeEnum(), edm::PathsAndConsumesOfModulesBase::endPaths(), newFWLiteAna::found, get, highlighted(), mps_fire::i, edm::PathsAndConsumesOfModulesBase::largestModuleID(), m_graph, m_initialized, m_showPathDependencies, callgraph::module, edm::PathsAndConsumesOfModulesBase::modulesOnEndPath(), edm::PathsAndConsumesOfModulesBase::modulesOnPath(), edm::PathsAndConsumesOfModulesBase::modulesWhoseProductsAreConsumedBy(), Skims_PA_cff::paths, edm::PathsAndConsumesOfModulesBase::paths(), callgraph::previous, shapes, and findQualityFiles::size.
Referenced by DependencyGraph().
void DependencyGraph::preSourceConstruction | ( | ModuleDescription const & | module | ) |
Definition at line 194 of file DependencyGraph.cc.
References get, highlighted(), m_graph, callgraph::module, shapes, and Source.
Referenced by DependencyGraph().
|
private |
Definition at line 124 of file DependencyGraph.cc.
Referenced by postBeginJob().
|
private |
Definition at line 122 of file DependencyGraph.cc.
Referenced by postBeginJob(), preBeginJob(), and preSourceConstruction().
|
private |
Definition at line 125 of file DependencyGraph.cc.
|
private |
Definition at line 128 of file DependencyGraph.cc.
Referenced by postBeginJob(), and preBeginJob().
|
private |
Definition at line 127 of file DependencyGraph.cc.
Referenced by preBeginJob().
|
staticconstexprprivate |
Definition at line 70 of file DependencyGraph.cc.
|
staticconstexprprivate |
Definition at line 73 of file DependencyGraph.cc.
Referenced by preBeginJob(), and preSourceConstruction().