ftimings 0.3
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ftimings::timer_t Type Reference

Type for a timer instance. More...

Public Member Functions

procedure, pass start => timer_start
 
procedure, pass stop => timer_stop
 
procedure, pass free => timer_free
 
procedure, pass print => timer_print
 
procedure, pass print_node => timer_print_node
 
procedure, pass enable => timer_enable
 
procedure, pass disable => timer_disable
 
procedure, pass is_enabled => timer_is_enabled
 
procedure, pass measure_flops => timer_measure_flops
 
procedure, pass measure_cycles => timer_measure_cycles
 
procedure, pass measure_allocated_memory => timer_measure_allocated_memory
 
procedure, pass measure_virtual_memory => timer_measure_virtual_memory
 
procedure, pass measure_max_allocated_memory => timer_measure_max_allocated_memory
 
procedure, pass measure_memory_bandwidth => timer_measure_memory_bandwidth
 
procedure, pass set_print_options => timer_set_print_options
 
procedure, pass in_entries => timer_in_entries
 
procedure, pass in_entries_node => timer_in_entries_node
 
procedure, pass get => timer_get
 
procedure, pass get_node => timer_get_node
 
procedure, pass get_value => timer_get_value
 
procedure, pass get_value_node => timer_get_value_node
 
procedure, pass get_in_children => timer_get_in_children
 
procedure, pass get_in_children_node => timer_get_in_children_node
 
procedure, pass get_value_in_children => timer_get_value_in_children
 
procedure, pass get_value_in_children_node => timer_get_value_in_children_node
 
procedure, pass get_without_children => timer_get_without_children
 
procedure, pass get_without_children_node => timer_get_without_children_node
 
procedure, pass get_value_without_children => timer_get_value_without_children
 
procedure, pass get_value_without_children_node => timer_get_value_without_children_node
 
procedure, pass since => timer_since
 
procedure, pass since_node => timer_since_node
 
procedure, pass sort => timer_sort
 
procedure, pass register_error_handler => timer_register_error_handler
 

Detailed Description

Type for a timer instance.

Typical usage:

type(timer_t) :: timer
call timer%enable()
call timer%start("section")
...
call timer%start("subsection")
...
call timer%stop("subsection")
...
call timer%stop("section")
call timer%print()

Every first call to timerstart() at a certain point in the tree allocates a small amount of memory. If the timer is no longer needed, all that memory can be freed again with

call timer%free()

The documentation for this type was generated from the following file: