HPCToolkit
TraceviewerServer Namespace Reference

Classes

class  BaseDataFile
 
struct  BinaryRepresentationOfFilter
 
class  ByteUtilities
 
class  Communication
 
class  DataCompressionLayer
 
class  DataOutputFileStream
 
class  DataSocketStream
 
class  DBOpener
 
struct  FileData
 
class  FileUtils
 
class  Filter
 
class  FilteredBaseData
 
class  FilterSet
 
struct  ImageTraceAttributes
 
class  LargeByteBuffer
 
class  LRUList
 
class  MergeDataFiles
 
class  MPICommunication
 
struct  OffsetPair
 
class  ProcessTimeline
 
class  ProgressBar
 
class  Range
 
class  Server
 
class  Slave
 
class  SpaceTimeDataController
 
struct  TimeCPID
 
class  TraceDataByRank
 
class  VersatileMemoryPage
 

Typedefs

typedef int64_t Long
 
typedef int SocketFD
 
typedef int FileDescriptor
 
typedef uint64_t FileOffset
 
typedef uint64_t Time
 

Enumerations

enum  ServerType { NONE_EXIT_IMMEDIATELY = 0, MASTER = 1, SLAVE = 2 }
 
enum  DatabaseType { MULTI_PROCESSES = 1, MULTI_THREADING = 2 }
 
enum  Header {
  DATA = 0x44415441, OPEN = 0x4F50454E, HERE = 0x48455245, DONE = 0x444F4E45,
  DBOK = 0x44424F4B, INFO = 0x494E464F, NODB = 0x4E4F4442, EXML = 0x45584D4C,
  FLTR = 0x464C5452, SLAVE_REPLY = 0x534C5250, SLAVE_DONE = 0x534C444E
}
 
enum  ServerNextAction { CLOSE_SERVER = 0, START_NEW_CONNECTION_IMMEDIATELY =1 }
 
enum  ErrorCode {
  ERROR_STREAM_OPEN_FAILED = -3, ERROR_EXPECTED_OPEN_COMMAND = -77, ERROR_DB_OPEN_FAILED = -4, ERROR_UNKNOWN_COMMAND = -7,
  ERROR_PATH_TOO_LONG = -9, ERROR_INVALID_PARAMETERS = -99, ERROR_COMPRESSION_FAILED = -33445, ERROR_GET_RAM_SIZE_FAILED = -4456,
  ERROR_READ_TOO_LITTLE = -5200, ERROR_STREAM_CLOSED = -12, ERROR_SOCKET_IN_USE = -1111
}
 
enum  MergeDataAttribute { SUCCESS_MERGED, SUCCESS_ALREADY_CREATED, FAIL_NO_DATA, STATUS_UNKNOWN }
 

Variables

static const int DEFAULT_PORT = 21590
 
static const unsigned int MAX_DB_PATH_LENGTH = 1023
 
SpaceTimeDataControllerstdcl
 
static FileOffset mmPageSize
 
FileOffset fileSize
 
bool useCompression = true
 
int mainPortNumber = DEFAULT_PORT
 
int xmlPortNumber = 0
 
static int MAX_PAGES_TO_ALLOCATE_AT_ONCE = 0
 

Typedef Documentation

◆ FileDescriptor

Definition at line 77 of file FileUtils.hpp.

◆ FileOffset

Definition at line 78 of file FileUtils.hpp.

◆ Long

typedef int64_t TraceviewerServer::Long

Definition at line 69 of file ByteUtilities.hpp.

◆ SocketFD

Definition at line 78 of file DataSocketStream.hpp.

◆ Time

typedef uint64_t TraceviewerServer::Time

Definition at line 68 of file TimeCPID.hpp.

Enumeration Type Documentation

◆ DatabaseType

Enumerator
MULTI_PROCESSES 
MULTI_THREADING 

Definition at line 80 of file Constants.hpp.

◆ ErrorCode

Enumerator
ERROR_STREAM_OPEN_FAILED 
ERROR_EXPECTED_OPEN_COMMAND 
ERROR_DB_OPEN_FAILED 
ERROR_UNKNOWN_COMMAND 
ERROR_PATH_TOO_LONG 
ERROR_INVALID_PARAMETERS 
ERROR_COMPRESSION_FAILED 
ERROR_GET_RAM_SIZE_FAILED 
ERROR_READ_TOO_LITTLE 
ERROR_STREAM_CLOSED 
ERROR_SOCKET_IN_USE 

Definition at line 105 of file Constants.hpp.

◆ Header

Enumerator
DATA 
OPEN 
HERE 
DONE 
DBOK 
INFO 
NODB 
EXML 
FLTR 
SLAVE_REPLY 
SLAVE_DONE 

Definition at line 85 of file Constants.hpp.

◆ MergeDataAttribute

Enumerator
SUCCESS_MERGED 
SUCCESS_ALREADY_CREATED 
FAIL_NO_DATA 
STATUS_UNKNOWN 

Definition at line 71 of file MergeDataFiles.hpp.

◆ ServerNextAction

Enumerator
CLOSE_SERVER 
START_NEW_CONNECTION_IMMEDIATELY 

Definition at line 99 of file Constants.hpp.

◆ ServerType

Enumerator
NONE_EXIT_IMMEDIATELY 
MASTER 
SLAVE 

Definition at line 74 of file Communication.hpp.

Variable Documentation

◆ DEFAULT_PORT

const int TraceviewerServer::DEFAULT_PORT = 21590
static

Definition at line 77 of file Constants.hpp.

◆ fileSize

FileOffset TraceviewerServer::fileSize

Definition at line 82 of file LargeByteBuffer.cpp.

◆ mainPortNumber

int TraceviewerServer::mainPortNumber = DEFAULT_PORT

Definition at line 90 of file Server.cpp.

◆ MAX_DB_PATH_LENGTH

const unsigned int TraceviewerServer::MAX_DB_PATH_LENGTH = 1023
static

Definition at line 78 of file Constants.hpp.

◆ MAX_PAGES_TO_ALLOCATE_AT_ONCE

int TraceviewerServer::MAX_PAGES_TO_ALLOCATE_AT_ONCE = 0
static

Definition at line 73 of file VersatileMemoryPage.cpp.

◆ mmPageSize

FileOffset TraceviewerServer::mmPageSize
static

Definition at line 81 of file LargeByteBuffer.cpp.

◆ stdcl

SpaceTimeDataController* TraceviewerServer::stdcl

Definition at line 83 of file DBOpener.cpp.

◆ useCompression

bool TraceviewerServer::useCompression = true

Definition at line 89 of file Server.cpp.

◆ xmlPortNumber

int TraceviewerServer::xmlPortNumber = 0

Definition at line 91 of file Server.cpp.