-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtimer.h
117 lines (109 loc) · 3.02 KB
/
timer.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
// ************************************************************************
//
// miniAMR: stencil computations with boundary exchange and AMR.
//
// Copyright (2014) Sandia Corporation. Under the terms of Contract
// DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government
// retains certain rights in this software.
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
// Questions? Contact Courtenay T. Vaughan ([email protected])
// Richard F. Barrett ([email protected])
//
// ************************************************************************
double average[128];
double stddev[128];
double minimum[128];
double maximum[128];
double timer_all;
double timer_comm_all;
double timer_comm_dir[3];
double timer_comm_recv[3];
double timer_comm_pack[3];
double timer_comm_send[3];
double timer_comm_same[3];
double timer_comm_diff[3];
double timer_comm_bc[3];
double timer_comm_wait[3];
double timer_comm_unpack[3];
double timer_calc_all;
double timer_cs_all;
double timer_cs_red;
double timer_cs_calc;
double timer_refine_all;
double timer_refine_co;
double timer_refine_mr;
double timer_refine_cc;
double timer_refine_sb;
double timer_refine_c1;
double timer_refine_c2;
double timer_refine_sy;
double timer_cb_all;
double timer_cb_cb;
double timer_cb_pa;
double timer_cb_mv;
double timer_cb_un;
double timer_target_all;
double timer_target_rb;
double timer_target_dc;
double timer_target_pa;
double timer_target_mv;
double timer_target_un;
double timer_target_cb;
double timer_target_ab;
double timer_target_da;
double timer_target_sb;
double timer_lb_all;
double timer_lb_sort;
double timer_lb_pa;
double timer_lb_mv;
double timer_lb_un;
double timer_lb_misc;
double timer_lb_mb;
double timer_lb_ma;
double timer_rs_all;
double timer_rs_ca;
double timer_rs_pa;
double timer_rs_mv;
double timer_rs_un;
double timer_plot;
long total_blocks;
int nb_min;
int nb_max;
int nrrs;
int nrs;
int nps;
int nlbs;
int num_refined;
int num_reformed;
int num_moved_all;
int num_moved_lb;
int num_moved_rs;
int num_moved_reduce;
int num_moved_coarsen;
int counter_halo_recv[3];
int counter_halo_send[3];
double size_mesg_recv[3];
double size_mesg_send[3];
int counter_face_recv[3];
int counter_face_send[3];
int counter_bc[3];
int counter_same[3];
int counter_diff[3];
int counter_malloc;
double size_malloc;
int counter_malloc_init;
double size_malloc_init;
int total_red;