HPCToolkit
main.cpp File Reference
#include <iostream>
#include <fstream>
#include <new>
#include <string>
#include <cstring>
#include "Args.hpp"
#include "ProfileReader.hpp"
#include "ProfileWriter.hpp"
#include "PCProfile.hpp"
#include "DerivedProfile.hpp"
#include "DCPIProfile.hpp"
#include <lib/binutils/LM.hpp>
#include <lib/support/diagnostics.h>
Include dependency graph for main.cpp:

Go to the source code of this file.

Typedefs

typedef std::list< string > StringList
 
typedef StringList::iterator StringListIt
 
typedef StringList::const_iterator StringListCIt
 

Functions

int real_main (int argc, char *argv[])
 
void ListAvailPredefDCPIFilters (DCPIProfile *prof, bool longlist=false)
 
PCProfileFilterListGetDCPIFilters (DCPIProfile *prof, binutils::LM *lm, const char *metricList, const char *excludeMList)
 
int main (int argc, char *argv[])
 
PCProfileFilterListGetDCPIFilters (StringList *mlist, binutils::LM *lm)
 
StringListGetAvailPredefDCPIFilterNms (DCPIProfile *prof, binutils::LM *lm)
 
bool IsPredefDCPIFilterAvail (DCPIProfile *prof, StringList *flist, const char *emsg=NULL)
 
bool IsPredefDCPIFilterAvail (DCPIProfile *prof, PredefinedDCPIMetricTable::Entry *e)
 
StringListConvertColonListToStringList (const char *str)
 
void RemoveFromList (StringList *l1, StringList *l2)
 

Typedef Documentation

◆ StringList

typedef std::list<string> StringList

Definition at line 90 of file main.cpp.

◆ StringListCIt

typedef StringList::const_iterator StringListCIt

Definition at line 92 of file main.cpp.

◆ StringListIt

typedef StringList::iterator StringListIt

Definition at line 91 of file main.cpp.

Function Documentation

◆ ConvertColonListToStringList()

StringList * ConvertColonListToStringList ( const char *  str)

Definition at line 432 of file main.cpp.

Here is the caller graph for this function:

◆ GetAvailPredefDCPIFilterNms()

StringList * GetAvailPredefDCPIFilterNms ( DCPIProfile prof,
binutils::LM *  lm 
)

Definition at line 350 of file main.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetDCPIFilters() [1/2]

PCProfileFilterList * GetDCPIFilters ( DCPIProfile prof,
binutils::LM *  lm,
const char *  metricList,
const char *  excludeMList 
)

Definition at line 295 of file main.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetDCPIFilters() [2/2]

PCProfileFilterList * GetDCPIFilters ( StringList mlist,
binutils::LM *  lm 
)

Definition at line 336 of file main.cpp.

Here is the call graph for this function:

◆ IsPredefDCPIFilterAvail() [1/2]

bool IsPredefDCPIFilterAvail ( DCPIProfile prof,
StringList flist,
const char *  emsg = NULL 
)

Definition at line 368 of file main.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsPredefDCPIFilterAvail() [2/2]

bool IsPredefDCPIFilterAvail ( DCPIProfile prof,
PredefinedDCPIMetricTable::Entry e 
)

Definition at line 390 of file main.cpp.

Here is the call graph for this function:

◆ ListAvailPredefDCPIFilters()

void ListAvailPredefDCPIFilters ( DCPIProfile prof,
bool  longlist = false 
)

Definition at line 253 of file main.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 107 of file main.cpp.

Here is the call graph for this function:

◆ real_main()

int real_main ( int  argc,
char *  argv[] 
)

Definition at line 132 of file main.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RemoveFromList()

void RemoveFromList ( StringList l1,
StringList l2 
)

Definition at line 450 of file main.cpp.

Here is the caller graph for this function: