PPL Logo

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 _time, unsigned char _type, char *note, int _lineNum, char *_fileName)
 LogEntry (double bt, double et, unsigned char _type, char *note, int eventID)
 LogEntry (double tm, unsigned short m, unsigned short e, int ev, int p, int ml, CmiObjId *d, double rt, int numPe, int *pelist)
void setFName (char *_fileName)
void addPapi (LONG_LONG_PAPI *papiVals)
void setUserSuppliedData (int data)
void setUserSuppliedNote (char *note)
 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 setNewStartTime (double t)
void pup (PUP::er &p)
 Constructor for a multicast log entry.
 ~LogEntry ()

Data Fields

double time
double endTime
double cputime
double recvTime
int event
int pe
unsigned short mIdx
unsigned short eIdx
int msglen
CmiObjId id
int numpes
intpes
int userSuppliedData
char * userSuppliedNote
unsigned long memUsage
LONG_LONG_PAPI papiValues [NUMPAPIEVENTS]
unsigned char type
char * fName
int flen

Detailed Description

a log entry in trace projection

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


Constructor & Destructor Documentation

LogEntry::LogEntry (  )  [inline]

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

References flen, fName, numpes, pes, and userSuppliedNote.

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 80 of file trace-projections.h.

References cputime, eIdx, flen, fName, mIdx, msglen, numpes, p, pe, pes, recvTime, time, type, and userSuppliedNote.

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

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

References mIdx, numpes, pes, setFName(), time, type, and userSuppliedNote.

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

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

References numpes, pes, setFName(), time, type, userSuppliedData, and userSuppliedNote.

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

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

References numpes, pes, setFName(), setUserSuppliedNote(), time, and type.

LogEntry::LogEntry ( double  bt,
double  et,
unsigned char  _type,
char *  note,
int  eventID 
) [inline]

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

References endTime, numpes, pes, setUserSuppliedNote(), time, and type.

LogEntry::LogEntry ( double  tm,
unsigned short  m,
unsigned short  e,
int  ev,
int  p,
int  ml,
CmiObjId d,
double  rt,
int  numPe,
int pelist 
) [inline]

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

References eIdx, _CmiObjId::id, mIdx, msglen, numpes, pe, pes, recvTime, time, type, and userSuppliedNote.

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

A constructor for a memory usage record.

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

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

LogEntry::~LogEntry (  )  [inline]

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

References fName, and userSuppliedNote.


Member Function Documentation

void LogEntry::setFName ( char *  _fileName  )  [inline]

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

References flen, and fName.

Referenced by LogEntry().

void LogEntry::addPapi ( LONG_LONG_PAPI papiVals  )  [inline]

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

References papiValues.

Referenced by LogPool::addPapi().

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

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

References userSuppliedData.

Referenced by LogPool::addUserSupplied().

void LogEntry::setUserSuppliedNote ( char *  note  )  [inline]

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

References length, and userSuppliedNote.

Referenced by LogPool::addUserSuppliedNote(), and LogEntry().

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

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

References malloc().

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

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

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

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

References free().

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

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

void LogEntry::setNewStartTime ( double  t  )  [inline]

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

References endTime, recvTime, and time.


Field Documentation

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

Referenced by LogEntry(), and pup().

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

Referenced by LogEntry(), and pup().

unsigned short LogEntry::mIdx

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

Referenced by LogEntry(), and pup().

unsigned short LogEntry::eIdx

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

Referenced by KMeansBOC::getNextPhaseMetrics(), LogEntry(), and pup().

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

Referenced by LogEntry(), and pup().

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

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

Referenced by LogEntry(), and pup().

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

Referenced by LogEntry(), and pup().

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

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

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

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

unsigned long LogEntry::memUsage

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

Referenced by LogEntry(), and pup().

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

Referenced by addPapi(), and pup().

unsigned char LogEntry::type

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

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

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

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


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

Generated on Fri May 25 08:04:08 2012 for Charm++ by  doxygen 1.5.5