HPCToolkit
ProfileWriter.cpp File Reference
#include <iostream>
#include <fstream>
#include <map>
#include <string>
#include <cstring>
#include <include/uint.h>
#include "ProfileWriter.hpp"
#include "PCProfile.hpp"
#include "DerivedProfile.hpp"
#include <lib/binutils/LM.hpp>
#include <lib/binutils/BinUtils.hpp>
#include <lib/xml/xml.hpp>
#include <lib/support/SrcFile.hpp>
#include <lib/xml/PROFILE.dtd.h>
Include dependency graph for ProfileWriter.cpp:

Go to the source code of this file.

Typedefs

typedef std::map< SrcFile::ln, PCProfileVec * > LineToPCProfileVecMap
 
typedef LineToPCProfileVecMap::iterator LineToPCProfileVecMapIt
 
typedef LineToPCProfileVecMap::value_type LineToPCProfileVecMapVal
 

Functions

void DumpFuncLineMap (ostream &os, LineToPCProfileVecMap &map, DerivedProfile *profData, const string &func, const string &file)
 
void ClearFuncLineMap (LineToPCProfileVecMap &map)
 

Variables

const char * UNKNOWN = "<unknown>"
 

Typedef Documentation

◆ LineToPCProfileVecMap

Definition at line 105 of file ProfileWriter.cpp.

◆ LineToPCProfileVecMapIt

typedef LineToPCProfileVecMap::iterator LineToPCProfileVecMapIt

Definition at line 106 of file ProfileWriter.cpp.

◆ LineToPCProfileVecMapVal

typedef LineToPCProfileVecMap::value_type LineToPCProfileVecMapVal

Definition at line 107 of file ProfileWriter.cpp.

Function Documentation

◆ ClearFuncLineMap()

void ClearFuncLineMap ( LineToPCProfileVecMap map)
Here is the caller graph for this function:

◆ DumpFuncLineMap()

void DumpFuncLineMap ( ostream &  os,
LineToPCProfileVecMap map,
DerivedProfile profData,
const string &  func,
const string &  file 
)
Here is the caller graph for this function:

Variable Documentation

◆ UNKNOWN

const char* UNKNOWN = "<unknown>"

Definition at line 100 of file ProfileWriter.cpp.