source: lmdz_wrf/trunk/WRFV3/inc/bench_solve_em_def.h @ 2295

Last change on this file since 2295 was 1, checked in by lfita, 10 years ago
  • -- --- Opening of the WRF+LMDZ coupling repository --- -- -

WRF: version v3.3
LMDZ: version v1818

More details in:

File size: 2.0 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(shcu_driver_tim)
20BENCH_DECL(fdda_driver_tim)
21BENCH_DECL(cal_phy_tend)
22BENCH_DECL(comp_diff_metrics_tim)
23BENCH_DECL(tke_diff_bc_tim)
24BENCH_DECL(deform_div_tim)
25BENCH_DECL(calc_tke_tim)
26BENCH_DECL(phy_bc_tim)
27BENCH_DECL(update_phy_ten_tim)
28BENCH_DECL(tke_rhs_tim)
29BENCH_DECL(vert_diff_tim)
30BENCH_DECL(hor_diff_tim)
31BENCH_DECL(rk_tend_tim)
32BENCH_DECL(relax_bdy_dry_tim)
33BENCH_DECL(small_step_prep_tim)
34BENCH_DECL(set_phys_bc2_tim)
35BENCH_DECL(advance_uv_tim)
36BENCH_DECL(spec_bdy_uv_tim)
37BENCH_DECL(advance_mu_t_tim)
38BENCH_DECL(spec_bdy_t_tim)
39BENCH_DECL(sumflux_tim)
40BENCH_DECL(advance_w_tim)
41BENCH_DECL(spec_bdynhyd_tim)
42BENCH_DECL(cald_p_rho_tim)
43BENCH_DECL(phys_bc_tim)
44BENCH_DECL(calc_mu_uv_tim)
45BENCH_DECL(small_step_finish_tim)
46BENCH_DECL(rk_scalar_tend_tim)
47BENCH_DECL(rlx_bdy_scalar_tim)
48BENCH_DECL(update_scal_tim)
49BENCH_DECL(flow_depbdy_tim)
50BENCH_DECL(tke_adv_tim)
51BENCH_DECL(chem_adv_tim)
52BENCH_DECL(calc_p_rho_tim)
53BENCH_DECL(diag_w_tim)
54BENCH_DECL(bc_end_tim)
55BENCH_DECL(advance_ppt_tim)
56BENCH_DECL(moist_physics_prep_tim)
57BENCH_DECL(micro_driver_tim)
58BENCH_DECL(moist_phys_end_tim)
59BENCH_DECL(time_filt_tim)
60BENCH_DECL(bc_2d_tim)
61BENCH_DECL(microswap_1)
62BENCH_DECL(microswap_2)
63BENCH_DECL(fire_driver_tim)
64BENCH_DECL(tracer_adv_tim)
65#else
66#define SOLVE_START
67#define SOLVE_END
68#define BENCH_INIT(A)
69#define BENCH_START(A)
70#define BENCH_END(A)
71#define BENCH_REPORT(A)
72#endif
Note: See TracBrowser for help on using the repository browser.