PPL Logo

TraceCore Class Reference

#include <traceCore.h>

Collaboration diagram for TraceCore:

Collaboration graph
[legend]

Public Member Functions

 TraceCore (char **argv)
 ~TraceCore ()
void RegisterLanguage (int lID)
void RegisterLanguage (int lID, const char *lName)
void RegisterEvent (int lID, int eID)
void LogEvent (int lID, int eID)
void LogEvent (int lID, int eID, int iLen, const int *iData)
void LogEvent (int lID, int eID, int iLen, const int *iData, double t)
void LogEvent (int lID, int eID, int sLen, const char *sData)
void LogEvent (int lID, int eID, int iLen, const int *iData, int sLen, const char *sData)

Private Member Functions

void startPtc ()
void closePtc ()

Private Attributes

TraceLoggertraceLogger
FILE * fpPtc
struct TraceCoreEventeventLists [MAX_NUM_LANGUAGES]
int maxlID
int maxeID [MAX_NUM_LANGUAGES]
int numLangs
int numEvents [MAX_NUM_LANGUAGES]
int lIDList [MAX_NUM_LANGUAGES]
char * lNames [MAX_NUM_LANGUAGES]
int traceCoreOn

Detailed Description

Definition at line 29 of file traceCore.h.


Constructor & Destructor Documentation

TraceCore::TraceCore ( char **  argv  ) 

Definition at line 28 of file traceCore.C.

References CmiGetArgFlag(), startPtc(), traceCoreOn, and traceLogger.

Here is the call graph for this function:

TraceCore::~TraceCore (  ) 

Definition at line 48 of file traceCore.C.

References closePtc(), and traceLogger.

Here is the call graph for this function:


Member Function Documentation

void TraceCore::startPtc (  )  [private]

Definition at line 124 of file traceCore.C.

References CmiAbort(), eventLists, fpPtc, maxeID, maxlID, numEvents, numLangs, and traceCoreOn.

Referenced by TraceCore().

Here is the call graph for this function:

Here is the caller graph for this function:

void TraceCore::closePtc (  )  [private]

Definition at line 146 of file traceCore.C.

References eventLists, fpPtc, lIDList, lNames, maxeID, maxlID, numEvents, numLangs, print_TraceCoreEvent(), and traceCoreOn.

Referenced by ~TraceCore().

Here is the call graph for this function:

Here is the caller graph for this function:

void TraceCore::RegisterLanguage ( int  lID  ) 

void TraceCore::RegisterLanguage ( int  lID,
const char *  lName 
)

Definition at line 54 of file traceCore.C.

References lIDList, lNames, maxlID, numLangs, TraceLogger::RegisterLanguage(), traceCoreOn, and traceLogger.

Here is the call graph for this function:

void TraceCore::RegisterEvent ( int  lID,
int  eID 
)

Definition at line 105 of file traceCore.C.

References eventLists, insert_TraceCoreEvent(), lIDList, maxeID, numEvents, numLangs, and traceCoreOn.

Here is the call graph for this function:

void TraceCore::LogEvent ( int  lID,
int  eID 
)

Definition at line 168 of file traceCore.C.

References traceCoreOn.

Referenced by LogEvent().

Here is the caller graph for this function:

void TraceCore::LogEvent ( int  lID,
int  eID,
int  iLen,
const int iData 
)

Definition at line 176 of file traceCore.C.

References LogEvent(), and traceCoreOn.

Here is the call graph for this function:

void TraceCore::LogEvent ( int  lID,
int  eID,
int  iLen,
const int iData,
double  t 
)

Definition at line 184 of file traceCore.C.

References TraceLogger::add(), CmiPrintf(), malloc(), traceCoreOn, TraceCoreTimer(), and traceLogger.

Here is the call graph for this function:

void TraceCore::LogEvent ( int  lID,
int  eID,
int  sLen,
const char *  sData 
)

Definition at line 204 of file traceCore.C.

References LogEvent(), and traceCoreOn.

Here is the call graph for this function:

void TraceCore::LogEvent ( int  lID,
int  eID,
int  iLen,
const int iData,
int  sLen,
const char *  sData 
)

Definition at line 212 of file traceCore.C.

References TraceLogger::add(), malloc(), traceCoreOn, TraceCoreTimer(), and traceLogger.

Here is the call graph for this function:


Field Documentation

Definition at line 32 of file traceCore.h.

Referenced by LogEvent(), RegisterLanguage(), TraceCore(), and ~TraceCore().

FILE* TraceCore::fpPtc [private]

Definition at line 35 of file traceCore.h.

Referenced by closePtc(), and startPtc().

struct TraceCoreEvent* TraceCore::eventLists[MAX_NUM_LANGUAGES] [read, private]

Definition at line 36 of file traceCore.h.

Referenced by closePtc(), RegisterEvent(), and startPtc().

Definition at line 37 of file traceCore.h.

Referenced by closePtc(), RegisterLanguage(), and startPtc().

int TraceCore::maxeID[MAX_NUM_LANGUAGES] [private]

Definition at line 38 of file traceCore.h.

Referenced by closePtc(), RegisterEvent(), and startPtc().

Definition at line 39 of file traceCore.h.

Referenced by closePtc(), RegisterEvent(), RegisterLanguage(), and startPtc().

int TraceCore::numEvents[MAX_NUM_LANGUAGES] [private]

Definition at line 40 of file traceCore.h.

Referenced by closePtc(), RegisterEvent(), and startPtc().

int TraceCore::lIDList[MAX_NUM_LANGUAGES] [private]

Definition at line 41 of file traceCore.h.

Referenced by closePtc(), RegisterEvent(), and RegisterLanguage().

char* TraceCore::lNames[MAX_NUM_LANGUAGES] [private]

Definition at line 42 of file traceCore.h.

Referenced by closePtc(), and RegisterLanguage().

Definition at line 43 of file traceCore.h.

Referenced by closePtc(), LogEvent(), RegisterEvent(), RegisterLanguage(), startPtc(), and TraceCore().


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

Generated on Mon Sep 21 08:31:13 2020 for Charm++ by  doxygen 1.5.5