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   ) 

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 Sat May 26 08:13:43 2012 for Charm++ by  doxygen 1.5.5