HPCToolkit
main.cpp File Reference
#include <iostream>
#include <fstream>
#include <string>
#include <exception>
#include <unistd.h>
#include "Args.hpp"
#include "ConfigParser.hpp"
#include <lib/analysis/Flat-SrcCorrelation.hpp>
#include <lib/profxml/XercesUtil.hpp>
#include <lib/profxml/XercesErrorHandler.hpp>
#include <lib/support/diagnostics.h>
#include <lib/support/NaN.h>
#include <lib/support/IOUtil.hpp>
Include dependency graph for main.cpp:

Go to the source code of this file.

Macros

#define NUM_PREFIX_LINES   2
 
#define MAX_IO_SIZE   (64 * 1024)
 

Functions

static void readConfFile (Args &args, Prof::Metric::Mgr &metricMgr)
 
static int realmain (int argc, char *const *argv)
 
int main (int argc, char *const *argv)
 
static string buildConfFile (const string &hpcHome, const string &confFile)
 
static void appendContents (std::ofstream &dest, const char *srcFile)
 

Macro Definition Documentation

◆ MAX_IO_SIZE

#define MAX_IO_SIZE   (64 * 1024)

◆ NUM_PREFIX_LINES

#define NUM_PREFIX_LINES   2

Definition at line 149 of file main.cpp.

Function Documentation

◆ appendContents()

static void appendContents ( std::ofstream &  dest,
const char *  srcFile 
)
static

Definition at line 223 of file main.cpp.

Here is the caller graph for this function:

◆ buildConfFile()

static string buildConfFile ( const string &  hpcHome,
const string &  confFile 
)
static

Definition at line 195 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 *const *  argv 
)

Definition at line 86 of file main.cpp.

Here is the call graph for this function:

◆ readConfFile()

static void readConfFile ( Args args,
Prof::Metric::Mgr metricMgr 
)
static

Definition at line 158 of file main.cpp.

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

◆ realmain()

static int realmain ( int  argc,
char *const *  argv 
)
static

Definition at line 115 of file main.cpp.

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