sc_RegionTimer man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

sc::RegionTimer(3)		     MPQC		    sc::RegionTimer(3)

NAME
       sc::RegionTimer - The RegionTimer class is used to record the time
       spent in a section of code.

SYNOPSIS
       #include <regtime.h>

       Inherits sc::DescribedClass.

       Inherited by sc::ParallelRegionTimer.

   Public Member Functions
       RegionTimer (const char *topname='total', int cpu_time=0, int
	   wall_time=1)
       RegionTimer (const Ref< KeyVal > &)
       void enter (const char *=0)
       void change (const char *newname, const char *oldname=0)
       void exit (const char *=0, bool do_not_throw=false)
       void set_default (const char *)
       void unset_default ()
       void enter_default ()
       void exit_default ()
       virtual void print (std::ostream &=ExEnv::out0()) const
	   Print the object.
       void update_top () const
       int nregion () const
       void get_region_names (const char *names[]) const
       void get_wall_times (double *) const
       void get_cpu_times (double *) const
       void get_flops (double *) const
       void get_depth (int *) const
       double get_wall_time () const
       double get_cpu_time () const
       double get_flops () const
       void add_wall_time (const char *, double)
       void add_cpu_time (const char *, double)
       void add_flops (const char *, double)

   Static Public Member Functions
       static RegionTimer * default_regiontimer ()
       static void set_default_regiontimer (const Ref< RegionTimer > &)

   Protected Attributes
       int wall_time_
       int cpu_time_
       int flops_
       TimedRegion * top_
       TimedRegion * current_
       TimedRegion * default_

   Additional Inherited Members
Detailed Description
       The RegionTimer class is used to record the time spent in a section of
       code.

       During the run of a code, enter and exit members are called to begin
       and end timed sections. The print member is used to display the
       obtained times. Multiple enter calls for a region with the same name
       aggregate the timings. Nested regions are supported.

Author
       Generated automatically by Doxygen for MPQC from the source code.

Version 2.3.1			Fri Feb 19 2016		    sc::RegionTimer(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net