PPL Logo

ck-core/cktiming.C File Reference

Go to the source code of this file.

Data Structures

class  StringPool

Functions

 CkpvStaticDeclare (double, start_time)
 CkpvStaticDeclare (double, end_time)
 CkpvDeclare (FILE *, bgfp)
 CkpvDeclare (int, outputParameters)
 CkpvStaticDeclare (bool, insideTraceBracket)
 CkpvStaticDeclare (StringPool, eventsPool)
void initBigSimTrace (int outputParams, int _outputTiming)
void finalizeBigSimTrace ()
void startTraceBigSim ()
void endTraceBigSim_20param (char *eventname, int stepno, int num_params, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10, double p11, double p12, double p13, double p14, double p15, double p16, double p17, double p18, double p19, double p20)
void endTraceBigSim (char *eventName, int stepno)
 startTraceBigSim() begins tracing an event with a specified set of parameters.
void endTraceBigSim (char *eventName, int stepno, double p1)
 startTraceBigSim() begins tracing an event with a specified set of parameters.
void endTraceBigSim (char *eventName, int stepno, double p1, double p2)
void endTraceBigSim (char *eventName, int stepno, double p1, double p2, double p3)
void endTraceBigSim (char *eventName, int stepno, double p1, double p2, double p3, double p4)
void endTraceBigSim (char *eventName, int stepno, double p1, double p2, double p3, double p4, double p5)
void endTraceBigSim (char *eventName, int stepno, double p1, double p2, double p3, double p4, double p5, double p6)
void endTraceBigSim (char *eventName, int stepno, double p1, double p2, double p3, double p4, double p5, double p6, double p7)
void endTraceBigSim (char *eventName, int stepno, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8)
void endTraceBigSim (char *eventName, int stepno, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9)
void endTraceBigSim (char *eventName, int stepno, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10)
void endTraceBigSim (char *eventName, int stepno, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10, double p11)
void endTraceBigSim (char *eventName, int stepno, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10, double p11, double p12)
void endTraceBigSim (char *eventName, int stepno, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10, double p11, double p12, double p13)
void endTraceBigSim (char *eventName, int stepno, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10, double p11, double p12, double p13, double p14)
void endTraceBigSim (char *eventName, int stepno, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10, double p11, double p12, double p13, double p14, double p15)
void endTraceBigSim (char *eventName, int stepno, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10, double p11, double p12, double p13, double p14, double p15, double p16)
void endTraceBigSim (char *eventName, int stepno, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10, double p11, double p12, double p13, double p14, double p15, double p16, double p17)
void endTraceBigSim (char *eventName, int stepno, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10, double p11, double p12, double p13, double p14, double p15, double p16, double p17, double p18)
void endTraceBigSim (char *eventName, int stepno, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10, double p11, double p12, double p13, double p14, double p15, double p16, double p17, double p18, double p19)
void endTraceBigSim (char *eventName, int stepno, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8, double p9, double p10, double p11, double p12, double p13, double p14, double p15, double p16, double p17, double p18, double p19, double p20)

Variables

static uint64_t start_time
static uint64_t end_time
int errorcode
int events [NUM_PAPI_EVENTS]
long long values [NUM_PAPI_EVENTS]
char errorstring [PAPI_MAX_STR_LEN+1]
unsigned long bgTraceCounter
double startTime
static int outputTiming = 0


Function Documentation

CkpvStaticDeclare ( double  ,
start_time   
)

CkpvStaticDeclare ( double  ,
end_time   
)

CkpvDeclare ( FILE *  ,
bgfp   
)

CkpvDeclare ( int  ,
outputParameters   
)

CkpvStaticDeclare ( bool  ,
insideTraceBracket   
)

CkpvStaticDeclare ( StringPool  ,
eventsPool   
)

void initBigSimTrace ( int  outputParams,
int  _outputTiming 
)

Definition at line 83 of file cktiming.C.

References bgTraceCounter, Converse::CkMyPe(), CmiAbort(), CmiMkdir(), CmiPrintf(), end_time, finalizeBigSimTrace(), xi::fname, outputTiming, and start_time.

Referenced by FTN_NAME().

Here is the call graph for this function:

Here is the caller graph for this function:

void finalizeBigSimTrace (  ) 

Definition at line 132 of file cktiming.C.

Referenced by FTN_NAME(), and initBigSimTrace().

Here is the caller graph for this function:

void startTraceBigSim (  ) 

Definition at line 145 of file cktiming.C.

References BgMark(), bgTraceCounter, CmiWallTimer(), events, start_time, and values.

Referenced by FTN_NAME().

Here is the call graph for this function:

Here is the caller graph for this function:

void endTraceBigSim_20param ( char *  eventname,
int  stepno,
int  num_params,
double  p1,
double  p2,
double  p3,
double  p4,
double  p5,
double  p6,
double  p7,
double  p8,
double  p9,
double  p10,
double  p11,
double  p12,
double  p13,
double  p14,
double  p15,
double  p16,
double  p17,
double  p18,
double  p19,
double  p20 
)

Definition at line 212 of file cktiming.C.

References BgMark(), bgTraceCounter, CmiPrintf(), CmiWallTimer(), end_time, start_time, PUP::t, and values.

Referenced by endTraceBigSim().

Here is the call graph for this function:

Here is the caller graph for this function:

void endTraceBigSim ( char *  eventName,
int  stepno 
)

startTraceBigSim() begins tracing an event with a specified set of parameters.

These are convenience aliases so that a user can easily add/remove parameters while testing their application. Up to 20 parameters can be specified. These just call through to startTraceBigSim_20param().

Definition at line 347 of file cktiming.C.

References endTraceBigSim_20param().

Referenced by FTN_NAME().

Here is the call graph for this function:

Here is the caller graph for this function:

void endTraceBigSim ( char *  eventName,
int  stepno,
double  p1 
)

startTraceBigSim() begins tracing an event with a specified set of parameters.

These are convenience aliases so that a user can easily add/remove parameters while testing their application. Up to 20 parameters can be specified. These just call through to startTraceBigSim_20param().

Definition at line 348 of file cktiming.C.

References endTraceBigSim_20param().

Here is the call graph for this function:

void endTraceBigSim ( char *  eventName,
int  stepno,
double  p1,
double  p2 
)

Definition at line 349 of file cktiming.C.

References endTraceBigSim_20param().

Here is the call graph for this function:

void endTraceBigSim ( char *  eventName,
int  stepno,
double  p1,
double  p2,
double  p3 
)

Definition at line 350 of file cktiming.C.

References endTraceBigSim_20param().

Here is the call graph for this function:

void endTraceBigSim ( char *  eventName,
int  stepno,
double  p1,
double  p2,
double  p3,
double  p4 
)

Definition at line 351 of file cktiming.C.

References endTraceBigSim_20param().

Here is the call graph for this function:

void endTraceBigSim ( char *  eventName,
int  stepno,
double  p1,
double  p2,
double  p3,
double  p4,
double  p5 
)

Definition at line 352 of file cktiming.C.

References endTraceBigSim_20param().

Here is the call graph for this function:

void endTraceBigSim ( char *  eventName,
int  stepno,
double  p1,
double  p2,
double  p3,
double  p4,
double  p5,
double  p6 
)

Definition at line 353 of file cktiming.C.

References endTraceBigSim_20param().

Here is the call graph for this function:

void endTraceBigSim ( char *  eventName,
int  stepno,
double  p1,
double  p2,
double  p3,
double  p4,
double  p5,
double  p6,
double  p7 
)

Definition at line 354 of file cktiming.C.

References endTraceBigSim_20param().

Here is the call graph for this function:

void endTraceBigSim ( char *  eventName,
int  stepno,
double  p1,
double  p2,
double  p3,
double  p4,
double  p5,
double  p6,
double  p7,
double  p8 
)

Definition at line 355 of file cktiming.C.

References endTraceBigSim_20param().

Here is the call graph for this function:

void endTraceBigSim ( char *  eventName,
int  stepno,
double  p1,
double  p2,
double  p3,
double  p4,
double  p5,
double  p6,
double  p7,
double  p8,
double  p9 
)

Definition at line 356 of file cktiming.C.

References endTraceBigSim_20param().

Here is the call graph for this function:

void endTraceBigSim ( char *  eventName,
int  stepno,
double  p1,
double  p2,
double  p3,
double  p4,
double  p5,
double  p6,
double  p7,
double  p8,
double  p9,
double  p10 
)

Definition at line 357 of file cktiming.C.

References endTraceBigSim_20param().

Here is the call graph for this function:

void endTraceBigSim ( char *  eventName,
int  stepno,
double  p1,
double  p2,
double  p3,
double  p4,
double  p5,
double  p6,
double  p7,
double  p8,
double  p9,
double  p10,
double  p11 
)

Definition at line 358 of file cktiming.C.

References endTraceBigSim_20param().

Here is the call graph for this function:

void endTraceBigSim ( char *  eventName,
int  stepno,
double  p1,
double  p2,
double  p3,
double  p4,
double  p5,
double  p6,
double  p7,
double  p8,
double  p9,
double  p10,
double  p11,
double  p12 
)

Definition at line 359 of file cktiming.C.

References endTraceBigSim_20param().

Here is the call graph for this function:

void endTraceBigSim ( char *  eventName,
int  stepno,
double  p1,
double  p2,
double  p3,
double  p4,
double  p5,
double  p6,
double  p7,
double  p8,
double  p9,
double  p10,
double  p11,
double  p12,
double  p13 
)

Definition at line 360 of file cktiming.C.

References endTraceBigSim_20param().

Here is the call graph for this function:

void endTraceBigSim ( char *  eventName,
int  stepno,
double  p1,
double  p2,
double  p3,
double  p4,
double  p5,
double  p6,
double  p7,
double  p8,
double  p9,
double  p10,
double  p11,
double  p12,
double  p13,
double  p14 
)

Definition at line 361 of file cktiming.C.

References endTraceBigSim_20param().

Here is the call graph for this function:

void endTraceBigSim ( char *  eventName,
int  stepno,
double  p1,
double  p2,
double  p3,
double  p4,
double  p5,
double  p6,
double  p7,
double  p8,
double  p9,
double  p10,
double  p11,
double  p12,
double  p13,
double  p14,
double  p15 
)

Definition at line 362 of file cktiming.C.

References endTraceBigSim_20param().

Here is the call graph for this function:

void endTraceBigSim ( char *  eventName,
int  stepno,
double  p1,
double  p2,
double  p3,
double  p4,
double  p5,
double  p6,
double  p7,
double  p8,
double  p9,
double  p10,
double  p11,
double  p12,
double  p13,
double  p14,
double  p15,
double  p16 
)

Definition at line 363 of file cktiming.C.

References endTraceBigSim_20param().

Here is the call graph for this function:

void endTraceBigSim ( char *  eventName,
int  stepno,
double  p1,
double  p2,
double  p3,
double  p4,
double  p5,
double  p6,
double  p7,
double  p8,
double  p9,
double  p10,
double  p11,
double  p12,
double  p13,
double  p14,
double  p15,
double  p16,
double  p17 
)

Definition at line 364 of file cktiming.C.

References endTraceBigSim_20param().

Here is the call graph for this function:

void endTraceBigSim ( char *  eventName,
int  stepno,
double  p1,
double  p2,
double  p3,
double  p4,
double  p5,
double  p6,
double  p7,
double  p8,
double  p9,
double  p10,
double  p11,
double  p12,
double  p13,
double  p14,
double  p15,
double  p16,
double  p17,
double  p18 
)

Definition at line 365 of file cktiming.C.

References endTraceBigSim_20param().

Here is the call graph for this function:

void endTraceBigSim ( char *  eventName,
int  stepno,
double  p1,
double  p2,
double  p3,
double  p4,
double  p5,
double  p6,
double  p7,
double  p8,
double  p9,
double  p10,
double  p11,
double  p12,
double  p13,
double  p14,
double  p15,
double  p16,
double  p17,
double  p18,
double  p19 
)

Definition at line 366 of file cktiming.C.

References endTraceBigSim_20param().

Here is the call graph for this function:

void endTraceBigSim ( char *  eventName,
int  stepno,
double  p1,
double  p2,
double  p3,
double  p4,
double  p5,
double  p6,
double  p7,
double  p8,
double  p9,
double  p10,
double  p11,
double  p12,
double  p13,
double  p14,
double  p15,
double  p16,
double  p17,
double  p18,
double  p19,
double  p20 
)

Definition at line 367 of file cktiming.C.

References endTraceBigSim_20param().

Here is the call graph for this function:


Variable Documentation

uint64_t start_time [static]

uint64_t end_time [static]

Definition at line 40 of file cktiming.C.

int events[NUM_PAPI_EVENTS]

Definition at line 41 of file cktiming.C.

Referenced by _createTraceTau(), startEntryEvent(), and startTraceBigSim().

long long values[NUM_PAPI_EVENTS]

char errorstring[PAPI_MAX_STR_LEN+1]

Definition at line 43 of file cktiming.C.

unsigned long bgTraceCounter

Definition at line 46 of file cktiming.C.

Referenced by endTraceBigSim_20param(), initBigSimTrace(), and startTraceBigSim().

double startTime

int outputTiming = 0 [static]

Definition at line 79 of file cktiming.C.

Referenced by initBigSimTrace().


Generated on Mon Sep 21 07:58:51 2020 for Charm++ by  doxygen 1.5.5