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, double statVal=0., int _nestedID=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, const 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
int nestedID
CmiObjId id
int numpes
intpes
unsigned long memUsage
double stat
char * userSuppliedNote
LONG_LONG_PAPI papiValues [NUMPAPIEVENTS]
char * fName
int flen
int userSuppliedData
unsigned char type

Detailed Description

a log entry in trace projection

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


Constructor & Destructor Documentation

LogEntry::LogEntry (  )  [inline]

Definition at line 70 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,
double  statVal = 0.,
int  _nestedID = 0 
) [inline]

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

References cputime, PUP::d, eIdx, flen, fName, PUP::m, mIdx, msglen, nestedID, numpes, p, pe, pes, recvTime, stat, time, and userSuppliedNote.

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

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

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

Here is the call graph for this function:

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

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

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

Here is the call graph for this function:

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

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

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

Here is the call graph for this function:

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

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

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

Here is the call graph for this function:

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

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

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

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

A constructor for a memory usage record.

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

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

LogEntry::~LogEntry (  )  [inline]

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

References fName, and userSuppliedNote.


Member Function Documentation

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

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

References flen, and fName.

Referenced by LogEntry().

Here is the caller graph for this function:

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

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

References papiValues.

Referenced by LogPool::addPapi().

Here is the caller graph for this function:

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

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

References userSuppliedData.

Referenced by LogPool::addUserSupplied().

Here is the caller graph for this function:

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

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

References length, and userSuppliedNote.

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

Here is the caller graph for this function:

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

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

References malloc().

Here is the call graph for this function:

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

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

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

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

References free().

Here is the call graph for this function:

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

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

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

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

References endTime, recvTime, and time.


Field Documentation

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

Referenced by LogEntry(), and pup().

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

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

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

Referenced by LogEntry(), and pup().

unsigned short LogEntry::mIdx

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

Referenced by LogEntry(), and pup().

unsigned short LogEntry::eIdx

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

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

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

Referenced by LogEntry(), and pup().

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

Referenced by LogEntry(), and pup().

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

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

Referenced by LogEntry(), and pup().

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

Referenced by LogEntry(), and pup().

unsigned long LogEntry::memUsage

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

Referenced by LogEntry(), and pup().

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

Referenced by LogEntry(), and pup().

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

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

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

Referenced by addPapi(), and pup().

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

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

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

Referenced by LogEntry(), and setFName().

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

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

unsigned char LogEntry::type

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

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


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

Generated on Mon Sep 21 08:26:54 2020 for Charm++ by  doxygen 1.5.5