PPL Logo

stats Namespace Reference

Used to compute, store, and later plot the time for various operations. More...


Functions

void print (void)
double time (void)
 Return the wall time, in seconds.
op_t time_op (const char *shortName, const char *desc)
 Define a new timing operation.
op_t count_op (const char *shortName, const char *desc, const char *units)
statsget (void)
 Return the current stats object.
op_t swap (op_t op)
 Start running this operation. Returns the old operation that was running.


Detailed Description

Used to compute, store, and later plot the time for various operations.

Function Documentation

void stats::print ( void   ) 

Definition at line 45 of file collide_serial.C.

References Collisions, endl(), gridAdds, gridCells, gridSizes, objects, pivots, recursiveCalls, rejBbox, rejCollide, rejHomo, rejID, rejTerritory, simpleCalls, simpleFallbackCalls, splitFailures, and splits.

Here is the call graph for this function:

double stats::time ( void   )  [inline]

op_t stats::time_op ( const char *  shortName,
const char *  desc 
)

Define a new timing operation.

Can be called at startup time to initialize a static variable.

op_t stats::count_op ( const char *  shortName,
const char *  desc,
const char *  units 
)

stats* stats::get ( void   ) 

op_t stats::swap ( op_t  op  ) 


Generated on Mon Sep 21 08:34:25 2020 for Charm++ by  doxygen 1.5.5