MPQC
3.0.0-alpha
|
TimedRegion is a helper class for RegionTimer. More...
#include <util/misc/regtime.h>
Public Member Functions | |
TimedRegion (const char *name) | |
const char * | name () const |
TimedRegion * | findinsubregion (const char *) |
void | acquire_subregion (TimedRegion *) |
void | cpu_enter (double) |
void | wall_enter (double) |
void | flops_enter (double) |
void | cpu_exit (double) |
void | wall_exit (double) |
void | flops_exit (double) |
void | cpu_add (double t) |
void | wall_add (double t) |
void | flops_add (double t) |
TimedRegion * | up () const |
TimedRegion * | subregions () const |
TimedRegion * | next () const |
TimedRegion * | prev () const |
double | cpu_time () const |
reports the current values of cpu_time, wall_time, and flops | |
double | wall_time () const |
double | flops () const |
void | merge (const TimedRegion *r) |
Include the regions in r in this object's regions. | |
int | nregion () |
void | get_region_names (const char *names[]) |
void | get_wall_times (double *) |
void | get_cpu_times (double *) |
void | get_flops (double *) |
void | get_depth (int *, int depth=0) |
Friends | |
class | RegionTimer |
TimedRegion is a helper class for RegionTimer.