source: trunk/WRF.COMMON/WRFV3/inc/bench_solve_em_def.h

Last change on this file was 2759, checked in by aslmd, 2 years ago

adding unmodified code from WRFV3.0.1.1, expurged from useless data +1M size

File size: 1.9 KB
Line 
1#ifdef BENCH
2   INTEGER, EXTERNAL :: rsl_internal_microclock
3   INTEGER btimex, solve_tim
4#define SOLVE_START     solve_tim = rsl_internal_microclock()
5#define SOLVE_END       solve_tim = rsl_internal_microclock() - solve_tim
6#define BENCH_DECL(A)   integer A
7#define BENCH_INIT(A)   A=0
8#define BENCH_START(A)  btimex=rsl_internal_microclock()
9#define BENCH_END(A)    A=A+rsl_internal_microclock()-btimex
10#define BENCH_REPORT(A) write(0,*)'A= ',A
11BENCH_DECL(step_prep_tim)
12BENCH_DECL(set_phys_bc_tim)
13BENCH_DECL(init_zero_tend_tim)
14BENCH_DECL(phy_prep_tim)
15BENCH_DECL(rad_driver_tim)
16BENCH_DECL(surf_driver_tim)
17BENCH_DECL(pbl_driver_tim)
18BENCH_DECL(cu_driver_tim)
19BENCH_DECL(fdda_driver_tim)
20BENCH_DECL(cal_phy_tend)
21BENCH_DECL(comp_diff_metrics_tim)
22BENCH_DECL(tke_diff_bc_tim)
23BENCH_DECL(deform_div_tim)
24BENCH_DECL(calc_tke_tim)
25BENCH_DECL(phy_bc_tim)
26BENCH_DECL(update_phy_ten_tim)
27BENCH_DECL(tke_rhs_tim)
28BENCH_DECL(vert_diff_tim)
29BENCH_DECL(hor_diff_tim)
30BENCH_DECL(rk_tend_tim)
31BENCH_DECL(relax_bdy_dry_tim)
32BENCH_DECL(small_step_prep_tim)
33BENCH_DECL(set_phys_bc2_tim)
34BENCH_DECL(advance_uv_tim)
35BENCH_DECL(spec_bdy_uv_tim)
36BENCH_DECL(advance_mu_t_tim)
37BENCH_DECL(spec_bdy_t_tim)
38BENCH_DECL(sumflux_tim)
39BENCH_DECL(advance_w_tim)
40BENCH_DECL(spec_bdynhyd_tim)
41BENCH_DECL(cald_p_rho_tim)
42BENCH_DECL(phys_bc_tim)
43BENCH_DECL(calc_mu_uv_tim)
44BENCH_DECL(small_step_finish_tim)
45BENCH_DECL(rk_scalar_tend_tim)
46BENCH_DECL(rlx_bdy_scalar_tim)
47BENCH_DECL(update_scal_tim)
48BENCH_DECL(flow_depbdy_tim)
49BENCH_DECL(tke_adv_tim)
50BENCH_DECL(chem_adv_tim)
51BENCH_DECL(calc_p_rho_tim)
52BENCH_DECL(diag_w_tim)
53BENCH_DECL(bc_end_tim)
54BENCH_DECL(advance_ppt_tim)
55BENCH_DECL(moist_physics_prep_tim)
56BENCH_DECL(micro_driver_tim)
57BENCH_DECL(moist_phys_end_tim)
58BENCH_DECL(time_filt_tim)
59BENCH_DECL(bc_2d_tim)
60BENCH_DECL(microswap_1)
61BENCH_DECL(microswap_2)
62#else
63#define SOLVE_START
64#define SOLVE_END
65#define BENCH_INIT(A)
66#define BENCH_START(A)
67#define BENCH_END(A)
68#define BENCH_REPORT(A)
69#endif
Note: See TracBrowser for help on using the repository browser.