BSpline Finite Element Exterior Calculus
Loading...
Searching...
No Matches
m_timer::smarttimer Type Reference

SmartTimer object to measure elapsed time. More...

Public Member Functions

procedure init timer_init
 
procedure start timer_start
 
procedure stop timer_stop
 
procedure print timer_print
 
procedure nr_ranks timer_nr_ranks
 
procedure total timer_total
 
procedure minval timer_minval
 
procedure maxval timer_maxval
 
procedure avgval timer_avgval
 

Public Attributes

integer my_rank
 My rank in the communicator.
 
real(wp) start_time
 Starting time.
 
real(wp) end_time
 Ending time.
 
real(wp) elapsed_time
 Elapsed time in seconds on this rank.
 
integer start_count
 Number of times the timer has been started.
 
real(wp), dimension(:), allocatable elapsed_times
 Elapsed time in seconds on all ranks.
 
character(len=:), allocatable name
 User-defined timer name.
 
integer timer_id
 Registry identifier for this timer.
 
integer, public our_timer_id = -1
 Our ID (if allocated by us in get_timer)
 
logical is_initialized = .false.
 Whether the timer has been initialized.
 
logical is_running
 Whether the timer is currently running.
 
logical is_synced
 Whether elapsed_times currently reflect elapsed_time.
 
type(timerpointer), dimension(:), allocatable children
 Child timers in the timing tree.
 
integer nr_children
 Number of active children.
 
integer depth
 Tree depth (root starts at 0)
 

Detailed Description

SmartTimer object to measure elapsed time.


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