MPQC  3.0.0-alpha
sc::TimedRegion Class Reference

TimedRegion is a helper class for RegionTimer. More...

#include <util/misc/regtime.h>

Public Member Functions

 TimedRegion (const char *name)
 
const char * name () const
 
TimedRegionfindinsubregion (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)
 
TimedRegionup () const
 
TimedRegionsubregions () const
 
TimedRegionnext () const
 
TimedRegionprev () 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
 

Detailed Description

TimedRegion is a helper class for RegionTimer.


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

Generated at Sun Jan 26 2020 23:24:13 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.8.16.