6 use mpi,
only: mpi_wtime
38 integer,
private :: eos_depth=0
39 double precision,
private :: eos_t0
46 if(eos_depth==0) eos_t0=mpi_wtime()
52 double precision,
intent(inout) :: acc
55 if(eos_depth==0) acc=acc+(mpi_wtime()-eos_t0)
67 double precision,
intent(out) :: t0(3)
74 double precision,
intent(in) :: t0(3)
This module contains definitions of global parameters and variables and some generic functions/subrou...
double precision time_bc
accumulated wall-clock time spent on boundary conditions
double precision tw_eos_hydro_prev
double precision tw_sts_prev
double precision time_wb_inverse
double precision tw_process
double precision tw_advance
double precision tw_regrid
integer timing_log_interval
Write timing log every N iterations (default 10).
double precision tpartc_int_0
double precision time_sts
double precision timegr_tot
double precision timeio_tot
double precision tw_eos_tc
subroutine eos_timer_start()
Open an EoS timing window; inside an OpenMP parallel region the EoS is not timed.
double precision tw_eos_hydro
double precision tpartc_com
double precision time_wb_recon
double precision timelast
double precision timeeos_update
integer, parameter timing_unit
subroutine timers_reset()
Zero the category timers of the time loop, so that the summary covers the loop only.
double precision tw_setdt
logical write_timing_log
Enable writing of detailed timing breakdown log (set via savelist).
double precision tpartc_grid_0
double precision timeeos_pthermal
subroutine timer_open(t0)
Open a timing window, whose length leaves out the EoS and ghost-cell time spent inside it,...
double precision tpartc_io
double precision timeloop
double precision timeloop0
double precision tpartc_com0
double precision function time_eos()
All EoS time so far; windows that enclose EoS calls subtract its change.
double precision timeeos_conv
double precision tpartc_grid
double precision tpartc_io_0
subroutine eos_timer_stop(acc)
Close an EoS timing window, adding its time to acc when it is the outermost.
double precision tpartc_int
double precision time_wb_transform
double precision function timer_close(t0)
Wall time since timer_open, less the EoS and ghost-cell time spent in between.
double precision timeeos_csound
double precision tw_eos_tc_prev
logical timing_log_opened
double precision timeeos_tfromei