47 #ifndef Analysis_Flat_SrcCorrelation_hpp 48 #define Analysis_Flat_SrcCorrelation_hpp 156 ProfToMetricsTupleVec& profToMetricsVec,
170 Prof::Metric::Mgr::StringToADescVecMap::const_iterator& it,
171 const Prof::Metric::Mgr::StringToADescVecMap::const_iterator& it_end);
178 StringToBoolMap& hasStructureTbl);
193 Prof::Flat::ProfileData*
197 readProf(Prof::Flat::ProfileData* prof);
200 openLM(
const string& fnm);
207 const std::string& title,
216 write_txt_hdr(std::ostream& os,
const std::string& hdr)
const;
245 {
return m_driver->replacePath(oldpath); }
249 {
return m_driver->replacePath(oldpath); }
263 #endif // Analysis_Flat_SrcCorrelation_hpp void write_txt(std::ostream &os) const
void write_txt_hdr(std::ostream &os, const std::string &hdr) const
std::string replacePath(const char *path)
static struct perf_mem_metric metric
std::vector< ProfToMetricsTuple > ProfToMetricsTupleVec
Prof::Flat::ProfileData * readProf(const string &fnm)
void write_txt_secSummary(std::ostream &os, Analysis::TextUtil::ColumnFormatter &colFmt, const std::string &title, const Prof::Struct::ANodeFilter *filter) const
Prof::Metric::Mgr & m_mMgr
DriverDocHandlerArgs(Driver *driver)
void computeRawMetrics(Prof::Metric::Mgr &mMgr, Prof::Struct::Tree &structure)
void write_experiment(std::ostream &os) const
void computeRawBatchJob_LM(const string &lmname, const string &lmname_orig, Prof::Struct::Tree &structure, ProfToMetricsTupleVec &profToMetricsVec, bool useStruct)
std::vector< ADesc * > ADescVec
void write_csv(std::ostream &os) const
std::string replacePath(const std::string &path)
BinUtil::LM * openLM(const string &fnm)
void correlateMetricsWithStructure(Prof::Metric::Mgr &mMgr, Prof::Struct::Tree &structure)
bool hasStructure(const string &lmname, Prof::Struct::Tree &structure, StringToBoolMap &hasStructureTbl)
bool getNextRawBatch(ProfToMetricsTupleVec &batchJob, Prof::Metric::Mgr::StringToADescVecMap::const_iterator &it, const Prof::Metric::Mgr::StringToADescVecMap::const_iterator &it_end)
const Analysis::Args & m_args
virtual ~DriverDocHandlerArgs()
void computeDerivedBatch(Prof::Struct::Tree &structure, const Prof::Metric::AExpr **mExprVec, uint mBegId, uint mEndId)
Prof::Struct::Tree & m_structure
std::pair< Prof::Flat::ProfileData *, Prof::Metric::ADescVec * > ProfToMetricsTuple
void write_txt_annotateFile(std::ostream &os, Analysis::TextUtil::ColumnFormatter &colFmt, const Prof::Struct::File *fileStrct) const
std::map< string, bool > StringToBoolMap
string replacePath(const std::string &oldpath) const
void populateStructure(Prof::Struct::Tree &structure)
static uint profileBatchSz
void correlateRaw(Prof::Metric::ADesc *metric, const Prof::Flat::EventData &profevent, VMA lm_load_addr, Prof::Struct::Tree &structure, Prof::Struct::LM *lmStrct, BinUtil::LM *lm, bool useStruct)
string replacePath(const char *oldpath) const
void write_config(std::ostream &os=std::cout) const
void computeDerivedMetrics(Prof::Metric::Mgr &mMgr, Prof::Struct::Tree &structure)
Driver(const Analysis::Args &args, Prof::Metric::Mgr &mMgr, Prof::Struct::Tree &structure)
void clearRawBatch(ProfToMetricsTupleVec &batchJob)
std::string toString() const