Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Derived types and interfaces | Functions/Subroutines | Variables
sll_m_timer Module Reference

Description

We can now use the functions.

real :: time (you can use 64-bit real)
call sll_s_set_time_mark(mark1)
call sll_s_set_time_mark(mark2)
time = time_elapsed_between(mark1,mark2)
time = time_elapsed_since(mark2)

Derived types and interfaces

type  sll_t_time_mark
 type use for clock reading More...
 

Functions/Subroutines

subroutine, public sll_s_set_time_mark (timer_obj)
 reads time parameters from system and stores in its argument. param timer_obj an object of type sll_t_time_mark, intent(out). More...
 
real(kind=f64) function, public sll_f_time_elapsed_between (t0, t1)
 Computes the time elapsed between two time marks. More...
 
real(kind=f64) function, public sll_f_time_elapsed_since (t0)
 Computes the time elapsed since a particular time mark was set. More...
 

Variables

integer, parameter itimer = selected_int_kind(18)
 Kind parameter defined here determines clock resolution (e.g. see 'system_clock' intrinsic subroutine in gfortran docs) More...
 

Function/Subroutine Documentation

◆ sll_f_time_elapsed_between()

real(kind=f64) function, public sll_m_timer::sll_f_time_elapsed_between ( type(sll_t_time_mark), intent(in)  t0,
type(sll_t_time_mark), intent(in)  t1 
)

Computes the time elapsed between two time marks.

Parameters
t0an object of type sll_t_time_mark, intent(in)
t1an object of type sll_t_time_mark, intent(in)
Returns
the time elapsed between t0 and t1 in seconds.

Definition at line 82 of file sll_m_timer.F90.

Here is the caller graph for this function:

◆ sll_f_time_elapsed_since()

real(kind=f64) function, public sll_m_timer::sll_f_time_elapsed_since ( type(sll_t_time_mark), intent(in)  t0)

Computes the time elapsed since a particular time mark was set.

Parameters
t0reference mark of type sll_t_time_mark. Must have been set. intent(in)
Returns
the time elapsed since t0 was set in seconds.

Definition at line 99 of file sll_m_timer.F90.

◆ sll_s_set_time_mark()

subroutine, public sll_m_timer::sll_s_set_time_mark ( type(sll_t_time_mark), intent(out)  timer_obj)

reads time parameters from system and stores in its argument. param timer_obj an object of type sll_t_time_mark, intent(out).

Definition at line 71 of file sll_m_timer.F90.

Here is the caller graph for this function:

Variable Documentation

◆ itimer

integer, parameter itimer = selected_int_kind(18)
private

Kind parameter defined here determines clock resolution (e.g. see 'system_clock' intrinsic subroutine in gfortran docs)

Definition at line 58 of file sll_m_timer.F90.

    Report Typos and Errors