Derived type for each method being benchmarked in all images.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=:), | public, | allocatable | :: | method |
Name of the method being benchmarked |
||
character(len=:), | public, | allocatable | :: | description |
Description of the method being benchmarked |
||
real(kind=rk), | public | :: | elapsed_time_min |
Minimum elapsed time for the benchmark in all images |
|||
real(kind=rk), | public | :: | elapsed_time_average |
Average elapsed time for the benchmark in all images |
|||
real(kind=rk), | public | :: | elapsed_time_max |
Maximum elapsed time for the benchmark in all images |
|||
real(kind=rk), | public | :: | flops_total |
Total floating-point operations per second in all images |
|||
real(kind=rk), | public | :: | speedup_max_total |
Maximum speedup in all images compared to the reference benchmark |
Finalize procedure for mark type
Finalizes the mark object by deallocating allocated memory for method and description.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mark), | intent(inout) | :: | this |
Mark object to be finalized |
type :: mark !! author: Seyed Ali Ghasemi !! Derived type for each method being benchmarked in all images. !! character(:), allocatable :: method !! Name of the method being benchmarked character(:), allocatable :: description !! Description of the method being benchmarked real(rk) :: elapsed_time_min !! Minimum elapsed time for the benchmark in all images real(rk) :: elapsed_time_average !! Average elapsed time for the benchmark in all images real(rk) :: elapsed_time_max !! Maximum elapsed time for the benchmark in all images real(rk) :: flops_total !! Total floating-point operations per second in all images real(rk) :: speedup_max_total !! Maximum speedup in all images compared to the reference benchmark contains procedure, private :: finalize_mark !! Finalize procedure for mark type end type mark