Get the number of timers.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_timer_type), | intent(in), | optional | :: | me |
timer object |
number of timer handles
pure function tem_getNTimers( me ) result ( n ) ! -------------------------------------------------------------------- ! !> timer object type(tem_timer_type), intent(in), optional :: me !> number of timer handles integer :: n ! -------------------------------------------------------------------- ! if ( present(me) ) then n = me%nTimers else n = timer%timedat%nTimers end if end function tem_getNTimers