HPCToolkit
TraceviewerServer::MergeDataFiles Class Reference

#include <MergeDataFiles.hpp>

Static Public Member Functions

static MergeDataAttribute merge (string, string, string)
 
static vector< string > splitString (string, char)
 

Static Private Member Functions

static void insertMarker (DataOutputFileStream *)
 
static bool isMergedFileCorrect (string *)
 
static bool removeFiles (vector< string >)
 
static bool atLeastOneValidFile (string)
 

Static Private Attributes

static const uint64_t MARKER_END_MERGED_FILE = 0xFFFFFFFFDEADF00D
 
static const int PAGE_SIZE_GUESS = 4096
 
static const int PROC_POS = 5
 
static const int THREAD_POS = 4
 

Detailed Description

Definition at line 76 of file MergeDataFiles.hpp.

Member Function Documentation

◆ atLeastOneValidFile()

bool TraceviewerServer::MergeDataFiles::atLeastOneValidFile ( string  dir)
staticprivate

Definition at line 257 of file MergeDataFiles.cpp.

◆ insertMarker()

void TraceviewerServer::MergeDataFiles::insertMarker ( DataOutputFileStream dos)
staticprivate

Definition at line 224 of file MergeDataFiles.cpp.

Here is the call graph for this function:

◆ isMergedFileCorrect()

bool TraceviewerServer::MergeDataFiles::isMergedFileCorrect ( string *  filename)
staticprivate

Definition at line 228 of file MergeDataFiles.cpp.

◆ merge()

MergeDataAttribute TraceviewerServer::MergeDataFiles::merge ( string  directory,
string  globInputFile,
string  outputFile 
)
static

Definition at line 78 of file MergeDataFiles.cpp.

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

◆ removeFiles()

bool TraceviewerServer::MergeDataFiles::removeFiles ( vector< string >  vect)
staticprivate

Definition at line 246 of file MergeDataFiles.cpp.

◆ splitString()

vector< string > TraceviewerServer::MergeDataFiles::splitString ( string  toSplit,
char  delimiter 
)
static

Definition at line 280 of file MergeDataFiles.cpp.

Member Data Documentation

◆ MARKER_END_MERGED_FILE

const uint64_t TraceviewerServer::MergeDataFiles::MARKER_END_MERGED_FILE = 0xFFFFFFFFDEADF00D
staticprivate

Definition at line 83 of file MergeDataFiles.hpp.

◆ PAGE_SIZE_GUESS

const int TraceviewerServer::MergeDataFiles::PAGE_SIZE_GUESS = 4096
staticprivate

Definition at line 84 of file MergeDataFiles.hpp.

◆ PROC_POS

const int TraceviewerServer::MergeDataFiles::PROC_POS = 5
staticprivate

Definition at line 85 of file MergeDataFiles.hpp.

◆ THREAD_POS

const int TraceviewerServer::MergeDataFiles::THREAD_POS = 4
staticprivate

Definition at line 86 of file MergeDataFiles.hpp.


The documentation for this class was generated from the following files: