LogEntry Class Reference
[Charm++ Trace Module]

a log entry in trace projection More...

#include <trace-projections.h>

Collaboration diagram for LogEntry:

Collaboration graph
[legend]

Public Member Functions

 LogEntry ()
 LogEntry (double tm, unsigned char t, unsigned short m=0, unsigned short e=0, int ev=0, int p=0, int ml=0, CmiObjId *d=NULL, double rt=0., double cputm=0., int numPe=0)
 LogEntry (double _time, unsigned char _type, unsigned short _funcID, int _lineNum, char *_fileName)
 LogEntry (double _time, unsigned char _type, int value, int _lineNum, char *_fileName)
 LogEntry (double tm, unsigned short m, unsigned short e, int ev, int p, int ml, CmiObjId *d, double rt, int numPe, int *pelist)
 Constructor for a multicast log entry.
void addPapi (int numPapiEvts, int *papi_ids, LONG_LONG_PAPI *papiVals)
void setUserSuppliedData (int data)
 LogEntry (unsigned char _type, double _time, long _memUsage)
 A constructor for a memory usage record.
void * operator new (size_t s)
void * operator new (size_t, void *ptr)
void operator delete (void *ptr)
void operator delete (void *, void *)
void pup (PUP::er &p)
 ~LogEntry ()

Data Fields

double time
double cputime
double recvTime
int event
int pe
unsigned short mIdx
unsigned short eIdx
int msglen
CmiObjId id
int numpes
intpes
int userSuppliedData
unsigned long memUsage
int numPapiEvents
intpapiIDs
LONG_LONG_PAPIpapiValues
unsigned char type
char * fName
int flen

Detailed Description

a log entry in trace projection

Definition at line 45 of file trace-projections.h.


Constructor & Destructor Documentation

LogEntry::LogEntry (  )  [inline]

Definition at line 72 of file trace-projections.h.

References flen, fName, numpes, and pes.

LogEntry::LogEntry ( double  tm,
unsigned char  t,
unsigned short  m = 0,
unsigned short  e = 0,
int  ev = 0,
int  p = 0,
int  ml = 0,
CmiObjId d = NULL,
double  rt = 0.,
double  cputm = 0.,
int  numPe = 0 
) [inline]

Definition at line 73 of file trace-projections.h.

References cputime, eIdx, event, flen, fName, mIdx, msglen, numPapiEvents, numpes, p, papiIDs, papiValues, pe, pes, recvTime, time, and type.

LogEntry::LogEntry ( double  _time,
unsigned char  _type,
unsigned short  _funcID,
int  _lineNum,
char *  _fileName 
) [inline]

Definition at line 90 of file trace-projections.h.

References event, flen, fName, mIdx, numpes, pes, time, and type.

LogEntry::LogEntry ( double  _time,
unsigned char  _type,
int  value,
int  _lineNum,
char *  _fileName 
) [inline]

Definition at line 109 of file trace-projections.h.

References flen, fName, numpes, pes, time, type, userSuppliedData, and value.

LogEntry::LogEntry ( unsigned char  _type,
double  _time,
long  _memUsage 
) [inline]

A constructor for a memory usage record.

Definition at line 136 of file trace-projections.h.

References flen, fName, memUsage, numpes, pes, time, and type.

LogEntry::~LogEntry (  )  [inline]

Definition at line 154 of file trace-projections.h.

References fName.


Member Function Documentation

void LogEntry::setUserSuppliedData ( int  data  )  [inline]

Definition at line 131 of file trace-projections.h.

References data, and userSuppliedData.

Referenced by LogPool::addUserSupplied().

void* LogEntry::operator new ( size_t  s  )  [inline]

Definition at line 147 of file trace-projections.h.

References malloc().

void* LogEntry::operator new ( size_t  ,
void *  ptr 
) [inline]

Definition at line 148 of file trace-projections.h.

void LogEntry::operator delete ( void *  ptr  )  [inline]

Definition at line 149 of file trace-projections.h.

References free().

void LogEntry::operator delete ( void *  ,
void *   
) [inline]

Definition at line 151 of file trace-projections.h.


Field Documentation

double LogEntry::time

Definition at line 47 of file trace-projections.h.

Referenced by TraceProjections::creationDone(), LogEntry(), pup(), TraceProjectionsBOC::startOutlierAnalysis(), updateProjLog(), and LogPool::write().

double LogEntry::cputime

Definition at line 48 of file trace-projections.h.

Referenced by LogEntry(), and pup().

double LogEntry::recvTime

Definition at line 49 of file trace-projections.h.

Referenced by LogPool::add(), TraceProjections::creationDone(), LogEntry(), pup(), and updateProjLog().

int LogEntry::event

Definition at line 50 of file trace-projections.h.

Referenced by LogEntry(), pup(), and TraceProjectionsBOC::startOutlierAnalysis().

int LogEntry::pe

Definition at line 51 of file trace-projections.h.

Referenced by LogEntry(), and pup().

unsigned short LogEntry::mIdx

Definition at line 52 of file trace-projections.h.

Referenced by LogEntry(), and pup().

unsigned short LogEntry::eIdx

Definition at line 53 of file trace-projections.h.

Referenced by LogEntry(), pup(), and TraceProjectionsBOC::startOutlierAnalysis().

int LogEntry::msglen

Definition at line 54 of file trace-projections.h.

Referenced by LogEntry(), and pup().

CmiObjId LogEntry::id

Definition at line 55 of file trace-projections.h.

int LogEntry::numpes

Definition at line 56 of file trace-projections.h.

Referenced by LogEntry(), and pup().

int* LogEntry::pes

Definition at line 57 of file trace-projections.h.

Referenced by LogEntry(), and pup().

int LogEntry::userSuppliedData

Definition at line 58 of file trace-projections.h.

Referenced by LogEntry(), pup(), and setUserSuppliedData().

unsigned long LogEntry::memUsage

Definition at line 59 of file trace-projections.h.

Referenced by LogEntry(), and pup().

int LogEntry::numPapiEvents

Definition at line 63 of file trace-projections.h.

Referenced by addPapi(), LogEntry(), and pup().

int* LogEntry::papiIDs

Definition at line 65 of file trace-projections.h.

Referenced by addPapi(), and LogEntry().

LONG_LONG_PAPI* LogEntry::papiValues

Definition at line 66 of file trace-projections.h.

Referenced by addPapi(), LogEntry(), and pup().

unsigned char LogEntry::type

Definition at line 68 of file trace-projections.h.

Referenced by TraceProjections::creationDone(), LogEntry(), pup(), and TraceProjectionsBOC::startOutlierAnalysis().

char* LogEntry::fName

Definition at line 69 of file trace-projections.h.

Referenced by LogEntry(), pup(), and ~LogEntry().

int LogEntry::flen

Definition at line 70 of file trace-projections.h.

Referenced by LogEntry(), and pup().


The documentation for this class was generated from the following files:
Generated on Sun Jun 29 13:34:06 2008 for Charm++ by  doxygen 1.5.1