dbcsr_timings_report Module

Timing routines for accounting



Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: cost_type_time = 17
integer, public, parameter :: cost_type_energy = 18

Subroutines

public subroutine timings_report_print(iw, r_timings, sort_by_self_time, cost_type, report_maxloc, mp_env)

Print accumulated information on timers

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: iw
real(kind=dp), intent(in) :: r_timings
logical, intent(in) :: sort_by_self_time
integer, intent(in) :: cost_type
logical, intent(in) :: report_maxloc
type(dbcsr_mp_obj), intent(in) :: mp_env

is needed to collect statistics from other nodes.

private subroutine collect_reports_from_ranks(reports, cost_type, mp_env)

Collects the timing or energy reports from all MPI ranks.

Arguments

Type IntentOptional Attributes Name
type(list_routinereport_type), intent(inout) :: reports
integer, intent(in) :: cost_type
type(dbcsr_mp_obj), intent(in) :: mp_env

private subroutine print_reports(reports, iw, threshold, sort_by_exclusiv_cost, cost_type, report_maxloc, mp_env)

Print the collected reports

Arguments

Type IntentOptional Attributes Name
type(list_routinereport_type), intent(in) :: reports
integer, intent(in) :: iw
real(kind=dp), intent(in) :: threshold
logical, intent(in) :: sort_by_exclusiv_cost
integer, intent(in) :: cost_type
logical, intent(in) :: report_maxloc
type(dbcsr_mp_obj), intent(in) :: mp_env

public subroutine timings_report_callgraph(filename)

Write accumulated callgraph information as cachegrind-file. http://kcachegrind.sourceforge.net/cgi-bin/show.cgi/KcacheGrindCalltreeFormat

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename