MPI-SCATCI  2.0
An MPI version of SCATCI
timing_module Module Reference

Timing module. More...

Data Types

type  time_data
 
type  timer
 

Functions/Subroutines

subroutine initialize (this)
 Initialize timers. More...
 
subroutine start_timer (this, name)
 Start a new named timer. More...
 
subroutine stop_timer (this, name)
 Stop a named timer. More...
 
integer function insert_time (this, name)
 Insert a new named timer. More...
 
subroutine report_timers (this)
 Print a table of timers. More...
 

Variables

integer, parameter timer_default_size = 1000
 
integer, parameter name_len = 40
 
type(timer), public master_timer
 

Detailed Description

Timing module.

Authors
A Al-Refaie
Date
2017
Note
16/01/2019 - Jakub Benda: Unifom coding style and expanded documentation.

Function/Subroutine Documentation

◆ initialize()

subroutine timing_module::initialize ( class(timer this)
private

Initialize timers.

Authors
A Al-Refaie
Date
2017

Definition at line 82 of file Timing_Module.f90.

Here is the call graph for this function:

◆ insert_time()

integer function timing_module::insert_time ( class(timer this,
character(len=*), intent(in)  name 
)
private

Insert a new named timer.

Authors
A Al-Refaie
Date
2017

Definition at line 154 of file Timing_Module.f90.

Here is the call graph for this function:

◆ report_timers()

subroutine timing_module::report_timers ( class(timer this)
private

Print a table of timers.

Authors
A Al-Refaie
Date
2017

Definition at line 195 of file Timing_Module.f90.

Here is the call graph for this function:

◆ start_timer()

subroutine timing_module::start_timer ( class(timer this,
character(len=*), intent(in)  name 
)
private

Start a new named timer.

Authors
A Al-Refaie
Date
2017

Definition at line 98 of file Timing_Module.f90.

Here is the call graph for this function:

◆ stop_timer()

subroutine timing_module::stop_timer ( class(timer this,
character(len=*), intent(in)  name 
)
private

Stop a named timer.

Authors
A Al-Refaie
Date
2017

Definition at line 127 of file Timing_Module.f90.

Here is the call graph for this function:

Variable Documentation

◆ master_timer

type(timer), public timing_module::master_timer

Definition at line 74 of file Timing_Module.f90.

◆ name_len

integer, parameter timing_module::name_len = 40
private

Definition at line 41 of file Timing_Module.f90.

◆ timer_default_size

integer, parameter timing_module::timer_default_size = 1000
private

Definition at line 40 of file Timing_Module.f90.