This module provides a convenient way to setup timers in the code.
To define a new one, declare an integer module variable here, and add a tem_timer_module::TEM_addTimer statement for it in the ATL_addTimers routine with a label for identification. Then use this module in the relevant code part and call tem_timer_module::TEM_startTimer and tem_timer_module::TEM_stopTimer by passing in this integer.
Upon finishing execution, Ateles will then print the measured time, for this code block into timing.res. ***********!
***********!
***********!
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(atl_timer_handle_type), | public, | save | :: | atl_timerHandles | |||
type(tem_timer_type), | public, | save | :: | atl_elemTimers | |||
type(tem_timer_type), | public, | save | :: | atl_cpl_elemTimers |
Handles for timer objects to measure the time for some code parts
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | init | ||||
integer, | public | :: | preciceInit | ||||
integer, | public | :: | simLoop | ||||
integer, | public | :: | commState | ||||
integer, | public | :: | wRestart | ||||
integer, | public | :: | preprocessKernel | ||||
integer, | public | :: | projectToFace | ||||
integer, | public | :: | setBnd | ||||
integer, | public | :: | invMassMatrix | ||||
integer, | public | :: | numFlux | ||||
integer, | public | :: | physFlux | ||||
integer, | public | :: | pF_initStateDer | ||||
integer, | public | :: | pF_projConv | ||||
integer, | public | :: | pF_pen | ||||
integer, | public | :: | pF_eval | ||||
integer, | public | :: | pF_projectTestFunc | ||||
integer, | public | :: | projectTestFunc | ||||
integer, | public | :: | stabalize | ||||
integer, | public | :: | updateBackground | ||||
integer, | public | :: | get_timestep | ||||
integer, | public | :: | TimeStepInfo | ||||
integer, | public | :: | convergeCheck | ||||
integer, | public | :: | checkVal | ||||
integer, | public | :: | preciceAdv | ||||
integer, | public | :: | readBC | ||||
integer, | public | :: | varElem | ||||
integer, | public | :: | constElem | ||||
integer, | public | :: | gradient | ||||
integer, | public | :: | preciceWrite | ||||
integer, | public | :: | first | = | 0 |
Set first timer handle in ateles |
|
integer, | public | :: | last | = | -1 |
Set last timer handle in ateles |
This function returns local modular variable atl_timerHandles to apesmate
This function returns local modular variable atl_elemTimers to apesmate
This function returns local modular variable atl_elemTimers to apesmate
Setup timers to assess the runtime of various parts of Ateles.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(treelmesh_type), | intent(in) | :: | tree |
Mesh data in treelmesh format. |
This routine sets elementTimers passed by apesmate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_timer_type), | intent(in) | :: | elemTimers |
This routine sets atl_timerHandles passed by apesmate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(atl_timer_handle_type), | intent(in) | :: | timerHandles |
This routine sets elementTimers passed by apesmate
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_timer_type), | intent(in) | :: | elemTimers |
Performance results are written to a file for statistical review The file-format is simple can be evaluated with gnuplot
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_general_type), | intent(in) | :: | general |
Parameters of the current simulation |
||
integer(kind=long_k), | intent(in) | :: | nElems | |||
integer, | intent(in) | :: | nDofs |
The number of degrees of freedom per element per scalar variable |
||
integer, | intent(in) | :: | nVars |
The number of scalar variables |