3 Each sample counts as 0.01 seconds.
4 % cumulative self self total
5 time seconds seconds calls s/call s/call name
6 33.39 26.26 26.26 33084529 0.00 0.00 MinimaxEnemy::connectedness(Board&, bool, bool)
7 32.86 52.10 25.84 33084529 0.00 0.00 MinimaxEnemy::quads(Board&, bool, bool)
8 14.88 63.80 11.70 33084529 0.00 0.00 MinimaxEnemy::centro(Board&, bool, bool)
9 6.49 68.90 5.10 17845143 0.00 0.00 Board::win(bool) const
10 5.19 72.98 4.08 13 0.31 5.95 MinimaxEnemy::alphabeta(Board const&, int, double, double, int)
11 4.65 76.64 3.66 33084529 0.00 0.00 MinimaxEnemy::centralisation(Board&, bool, bool)
12 1.45 77.78 1.14 moreHeu(void const*, void const*)
13 0.92 78.50 0.72 33084529 0.00 0.00 MinimaxEnemy::heuristica(Board&, bool, bool)
14 0.13 78.60 0.10 lessHeu(void const*, void const*)
15 0.03 78.62 0.02 214322 0.00 0.00 Board::adjacent(char, char) const
16 0.01 78.63 0.01 2624 0.00 0.00 Window::draw_square(int, int, int)
17 0.01 78.64 0.01 GLUI_Control::pack(int, int)
18 0.00 78.64 0.00 2624 0.00 0.00 Controller::is_highlighted(int, int)
19 0.00 78.64 0.00 2624 0.00 0.00 Controller::is_empty(int, int)
20 0.00 78.64 0.00 1000 0.00 0.00 MoveHistoryEntry::MoveHistoryEntry()
21 0.00 78.64 0.00 975 0.00 0.00 Board::Board()
22 0.00 78.64 0.00 962 0.00 0.00 Controller::piece(int, int)
23 0.00 78.64 0.00 962 0.00 0.00 Window::draw_circle(int, int, int)
24 0.00 78.64 0.00 41 0.00 1.89 Controller::after_display()
25 0.00 78.64 0.00 41 0.00 0.00 Window::render_scene()
26 0.00 78.64 0.00 30 0.00 0.00 Controller::highlight(int, int)
27 0.00 78.64 0.00 20 0.00 0.00 Window::disable(char const*)
28 0.00 78.64 0.00 17 0.00 0.00 Game::fill_pieces(bool*, char*)
29 0.00 78.64 0.00 16 0.00 0.00 Controller::update_all()
30 0.00 78.64 0.00 16 0.00 0.00 Game::get_last_move(int&, int&, int&, int&)
31 0.00 78.64 0.00 16 0.00 0.00 Game::is_end()
32 0.00 78.64 0.00 16 0.00 0.00 Window::display()
33 0.00 78.64 0.00 15 0.00 0.00 Window::enable(char const*)
34 0.00 78.64 0.00 14 0.00 0.00 MoveHistoryEntry::MoveHistoryEntry(Board*, int, int, int, int)
35 0.00 78.64 0.00 14 0.00 0.00 MoveHistoryEntry::operator=(MoveHistoryEntry const&)
36 0.00 78.64 0.00 13 0.00 5.95 MinimaxEnemy::move(Board*, int&, int&, int&, int&)
37 0.00 78.64 0.00 13 0.00 0.00 Game::move(int, int, int, int)
38 0.00 78.64 0.00 13 0.00 5.95 Game::think()
39 0.00 78.64 0.00 10 0.00 0.00 ControlFunc(int)
40 0.00 78.64 0.00 10 0.00 0.00 Window::control_func(int)
41 0.00 78.64 0.00 7 0.00 0.00 Controller::set_minimax_depth(int)
42 0.00 78.64 0.00 7 0.00 0.00 Game::set_minimax_depth(int)
43 0.00 78.64 0.00 3 0.00 0.00 Controller::set_computer_color(int)
44 0.00 78.64 0.00 2 0.00 0.00 Controller::stop()
45 0.00 78.64 0.00 2 0.00 0.00 MinimaxEnemy::set_weights(double*)
46 0.00 78.64 0.00 2 0.00 0.00 Window::enable_all()
47 0.00 78.64 0.00 1 0.00 0.00 global constructors keyed to dx
48 0.00 78.64 0.00 1 0.00 0.00 global constructors keyed to maxhNull
49 0.00 78.64 0.00 1 0.00 0.00 Controller::set_window(Window*)
50 0.00 78.64 0.00 1 0.00 0.00 Controller::play()
51 0.00 78.64 0.00 1 0.00 0.00 Controller::click(int, int)
52 0.00 78.64 0.00 1 0.00 0.00 Controller::Controller(Game*, bool)
53 0.00 78.64 0.00 1 0.00 0.00 Game::Game()
54 0.00 78.64 0.00 1 0.00 0.00 Board::initial_position()
55 0.00 78.64 0.00 1 0.00 0.00 Window::disable_all()
56 0.00 78.64 0.00 1 0.00 0.00 Window::main_loop()
57 0.00 78.64 0.00 1 0.00 0.00 Window::Window(int, char**, Controller*)
59 % the percentage of the total running time of the
60 time program used by this function.
62 cumulative a running sum of the number of seconds accounted
63 seconds for by this function and those listed above it.
65 self the number of seconds accounted for by this
66 seconds function alone. This is the major sort for this
69 calls the number of times this function was invoked, if
70 this function is profiled, else blank.
72 self the average number of milliseconds spent in this
73 ms/call function per call, if this function is profiled,
76 total the average number of milliseconds spent in this
77 ms/call function and its descendents per call, if this
78 function is profiled, else blank.
80 name the name of the function. This is the minor sort
81 for this listing. The index shows the location of
82 the function in the gprof listing. If the index is
83 in parenthesis it shows where it would appear in
84 the gprof listing if it were to be printed.
86 Call graph (explanation follows)
89 granularity: each sample hit covers 4 byte(s) for 0.01% of 78.64 seconds
91 index % time self children called name
93 [1] 98.4 0.00 77.39 RenderScene() [1]
94 0.00 77.38 41/41 Controller::after_display() [2]
95 0.00 0.01 41/41 Window::render_scene() [16]
96 0.00 0.00 13/16 Controller::update_all() [18]
97 -----------------------------------------------
98 0.00 77.38 41/41 RenderScene() [1]
99 [2] 98.4 0.00 77.38 41 Controller::after_display() [2]
100 0.00 77.38 13/13 Game::think() [5]
101 -----------------------------------------------
102 0.00 77.38 13/13 Game::think() [5]
103 [3] 98.4 0.00 77.38 13 MinimaxEnemy::move(Board*, int&, int&, int&, int&) [3]
104 4.08 73.30 13/13 MinimaxEnemy::alphabeta(Board const&, int, double, double, int) [4]
105 -----------------------------------------------
106 8922550 MinimaxEnemy::alphabeta(Board const&, int, double, double, int) [4]
107 4.08 73.30 13/13 MinimaxEnemy::move(Board*, int&, int&, int&, int&) [3]
108 [4] 98.4 4.08 73.30 13+8922550 MinimaxEnemy::alphabeta(Board const&, int, double, double, int) [4]
109 0.72 67.46 33084529/33084529 MinimaxEnemy::heuristica(Board&, bool, bool) [6]
110 5.10 0.02 17845127/17845143 Board::win(bool) const [10]
111 8922550 MinimaxEnemy::alphabeta(Board const&, int, double, double, int) [4]
112 -----------------------------------------------
113 0.00 0.00 0/13 Controller::play() [24]
114 0.00 77.38 13/13 Controller::after_display() [2]
115 [5] 98.4 0.00 77.38 13 Game::think() [5]
116 0.00 77.38 13/13 MinimaxEnemy::move(Board*, int&, int&, int&, int&) [3]
117 0.00 0.00 13/13 Game::move(int, int, int, int) [43]
118 -----------------------------------------------
119 0.72 67.46 33084529/33084529 MinimaxEnemy::alphabeta(Board const&, int, double, double, int) [4]
120 [6] 86.7 0.72 67.46 33084529 MinimaxEnemy::heuristica(Board&, bool, bool) [6]
121 26.26 0.00 33084529/33084529 MinimaxEnemy::connectedness(Board&, bool, bool) [7]
122 25.84 0.00 33084529/33084529 MinimaxEnemy::quads(Board&, bool, bool) [8]
123 11.70 0.00 33084529/33084529 MinimaxEnemy::centro(Board&, bool, bool) [9]
124 3.66 0.00 33084529/33084529 MinimaxEnemy::centralisation(Board&, bool, bool) [11]
125 -----------------------------------------------
126 26.26 0.00 33084529/33084529 MinimaxEnemy::heuristica(Board&, bool, bool) [6]
127 [7] 33.4 26.26 0.00 33084529 MinimaxEnemy::connectedness(Board&, bool, bool) [7]
128 -----------------------------------------------
129 25.84 0.00 33084529/33084529 MinimaxEnemy::heuristica(Board&, bool, bool) [6]
130 [8] 32.9 25.84 0.00 33084529 MinimaxEnemy::quads(Board&, bool, bool) [8]
131 -----------------------------------------------
132 11.70 0.00 33084529/33084529 MinimaxEnemy::heuristica(Board&, bool, bool) [6]
133 [9] 14.9 11.70 0.00 33084529 MinimaxEnemy::centro(Board&, bool, bool) [9]
134 -----------------------------------------------
135 0.00 0.00 16/17845143 Game::is_end() [19]
136 5.10 0.02 17845127/17845143 MinimaxEnemy::alphabeta(Board const&, int, double, double, int) [4]
137 [10] 6.5 5.10 0.02 17845143 Board::win(bool) const [10]
138 0.02 0.00 214322/214322 Board::adjacent(char, char) const [14]
139 -----------------------------------------------
140 3.66 0.00 33084529/33084529 MinimaxEnemy::heuristica(Board&, bool, bool) [6]
141 [11] 4.7 3.66 0.00 33084529 MinimaxEnemy::centralisation(Board&, bool, bool) [11]
142 -----------------------------------------------
144 [12] 1.4 1.14 0.00 moreHeu(void const*, void const*) [12]
145 -----------------------------------------------
147 [13] 0.1 0.10 0.00 lessHeu(void const*, void const*) [13]
148 -----------------------------------------------
149 0.00 0.00 0/214322 Game::is_end() [19]
150 0.02 0.00 214322/214322 Board::win(bool) const [10]
151 [14] 0.0 0.02 0.00 214322 Board::adjacent(char, char) const [14]
152 -----------------------------------------------
153 0.01 0.00 2624/2624 Window::render_scene() [16]
154 [15] 0.0 0.01 0.00 2624 Window::draw_square(int, int, int) [15]
155 -----------------------------------------------
156 0.00 0.01 41/41 RenderScene() [1]
157 [16] 0.0 0.00 0.01 41 Window::render_scene() [16]
158 0.01 0.00 2624/2624 Window::draw_square(int, int, int) [15]
159 0.00 0.00 2624/2624 Controller::is_highlighted(int, int) [29]
160 0.00 0.00 2624/2624 Controller::is_empty(int, int) [30]
161 0.00 0.00 962/962 Controller::piece(int, int) [33]
162 0.00 0.00 962/962 Window::draw_circle(int, int, int) [34]
163 0.00 0.00 30/30 Controller::highlight(int, int) [35]
164 -----------------------------------------------
165 0.00 0.00 0/0 GLUI_Main::pack_controls() [699]
166 0.00 0.00 0/0 GLUI_Control::pack_old(int, int) [213]
167 [17] 0.0 0.01 0.00 GLUI_Control::pack(int, int) [17]
168 -----------------------------------------------
169 0.00 0.00 1/16 Controller::play() [24]
170 0.00 0.00 1/16 Window::control_func(int) [21]
171 0.00 0.00 1/16 Window::main_loop() [25]
172 0.00 0.00 13/16 RenderScene() [1]
173 [18] 0.0 0.00 0.00 16 Controller::update_all() [18]
174 0.00 0.00 16/16 Game::is_end() [19]
175 0.00 0.00 18/20 Window::disable(char const*) [36]
176 0.00 0.00 16/17 Game::fill_pieces(bool*, char*) [37]
177 0.00 0.00 16/16 Game::get_last_move(int&, int&, int&, int&) [38]
178 0.00 0.00 16/16 Window::display() [39]
179 0.00 0.00 14/15 Window::enable(char const*) [40]
180 0.00 0.00 0/2 Window::enable_all() [49]
181 -----------------------------------------------
182 0.00 0.00 0/16 Controller::play() [24]
183 0.00 0.00 16/16 Controller::update_all() [18]
184 [19] 0.0 0.00 0.00 16 Game::is_end() [19]
185 0.00 0.00 16/17845143 Board::win(bool) const [10]
186 0.00 0.00 0/214322 Board::adjacent(char, char) const [14]
187 -----------------------------------------------
188 0.00 0.00 10/10 GLUI_CB::operator()(GLUI_Control*) const [22]
189 [20] 0.0 0.00 0.00 10 ControlFunc(int) [20]
190 0.00 0.00 10/10 Window::control_func(int) [21]
191 -----------------------------------------------
192 0.00 0.00 10/10 ControlFunc(int) [20]
193 [21] 0.0 0.00 0.00 10 Window::control_func(int) [21]
194 0.00 0.00 1/1 Controller::play() [24]
195 0.00 0.00 1/16 Controller::update_all() [18]
196 0.00 0.00 6/7 Game::set_minimax_depth(int) [45]
197 0.00 0.00 6/7 Controller::set_minimax_depth(int) [44]
198 0.00 0.00 2/3 Controller::set_computer_color(int) [46]
199 0.00 0.00 1/2 Controller::stop() [47]
200 -----------------------------------------------
202 [22] 0.0 0.00 0.00 GLUI_CB::operator()(GLUI_Control*) const [22]
203 0.00 0.00 10/10 ControlFunc(int) [20]
204 -----------------------------------------------
206 [23] 0.0 0.00 0.00 main [23]
207 0.00 0.00 1/1 Window::main_loop() [25]
208 0.00 0.00 1/1 Game::Game() [55]
209 0.00 0.00 1/17 Game::fill_pieces(bool*, char*) [37]
210 0.00 0.00 1/1 Controller::Controller(Game*, bool) [54]
211 0.00 0.00 1/1 Window::Window(int, char**, Controller*) [58]
212 0.00 0.00 1/1 Controller::set_window(Window*) [52]
213 -----------------------------------------------
214 0.00 0.00 1/1 Window::control_func(int) [21]
215 [24] 0.0 0.00 0.00 1 Controller::play() [24]
216 0.00 0.00 1/16 Controller::update_all() [18]
217 0.00 0.00 1/1 Window::disable_all() [57]
218 0.00 0.00 1/15 Window::enable(char const*) [40]
219 0.00 0.00 0/2 MinimaxEnemy::set_weights(double*) [48]
220 0.00 0.00 0/0 Game::set_players(Enemy*, Enemy*) [536]
221 0.00 0.00 0/0 Game::reset() [542]
222 0.00 0.00 0/13 Game::think() [5]
223 0.00 0.00 0/16 Game::is_end() [19]
224 -----------------------------------------------
225 0.00 0.00 1/1 main [23]
226 [25] 0.0 0.00 0.00 1 Window::main_loop() [25]
227 0.00 0.00 1/16 Controller::update_all() [18]
228 0.00 0.00 1/2 Controller::stop() [47]
229 0.00 0.00 1/7 Game::set_minimax_depth(int) [45]
230 0.00 0.00 1/7 Controller::set_minimax_depth(int) [44]
231 -----------------------------------------------
232 0.00 0.00 2624/2624 Window::render_scene() [16]
233 [29] 0.0 0.00 0.00 2624 Controller::is_highlighted(int, int) [29]
234 -----------------------------------------------
235 0.00 0.00 2624/2624 Window::render_scene() [16]
236 [30] 0.0 0.00 0.00 2624 Controller::is_empty(int, int) [30]
237 -----------------------------------------------
238 0.00 0.00 0/1000 Game::Game() [544]
239 0.00 0.00 1000/1000 Game::Game() [55]
240 [31] 0.0 0.00 0.00 1000 MoveHistoryEntry::MoveHistoryEntry() [31]
241 -----------------------------------------------
242 0.00 0.00 1/975 Game::Game() [55]
243 0.00 0.00 14/975 MoveHistoryEntry::MoveHistoryEntry(Board*, int, int, int, int) [41]
244 0.00 0.00 960/975 global constructors keyed to maxhNull [51]
245 [32] 0.0 0.00 0.00 975 Board::Board() [32]
246 -----------------------------------------------
247 0.00 0.00 962/962 Window::render_scene() [16]
248 [33] 0.0 0.00 0.00 962 Controller::piece(int, int) [33]
249 -----------------------------------------------
250 0.00 0.00 962/962 Window::render_scene() [16]
251 [34] 0.0 0.00 0.00 962 Window::draw_circle(int, int, int) [34]
252 -----------------------------------------------
253 0.00 0.00 30/30 Window::render_scene() [16]
254 [35] 0.0 0.00 0.00 30 Controller::highlight(int, int) [35]
255 -----------------------------------------------
256 0.00 0.00 2/20 Controller::stop() [47]
257 0.00 0.00 18/20 Controller::update_all() [18]
258 [36] 0.0 0.00 0.00 20 Window::disable(char const*) [36]
259 -----------------------------------------------
260 0.00 0.00 1/17 main [23]
261 0.00 0.00 16/17 Controller::update_all() [18]
262 [37] 0.0 0.00 0.00 17 Game::fill_pieces(bool*, char*) [37]
263 -----------------------------------------------
264 0.00 0.00 16/16 Controller::update_all() [18]
265 [38] 0.0 0.00 0.00 16 Game::get_last_move(int&, int&, int&, int&) [38]
266 -----------------------------------------------
267 0.00 0.00 16/16 Controller::update_all() [18]
268 [39] 0.0 0.00 0.00 16 Window::display() [39]
269 -----------------------------------------------
270 0.00 0.00 1/15 Controller::play() [24]
271 0.00 0.00 14/15 Controller::update_all() [18]
272 [40] 0.0 0.00 0.00 15 Window::enable(char const*) [40]
273 -----------------------------------------------
274 0.00 0.00 0/14 Game::Game() [544]
275 0.00 0.00 1/14 Game::Game() [55]
276 0.00 0.00 13/14 Game::move(int, int, int, int) [43]
277 [41] 0.0 0.00 0.00 14 MoveHistoryEntry::MoveHistoryEntry(Board*, int, int, int, int) [41]
278 0.00 0.00 14/975 Board::Board() [32]
279 -----------------------------------------------
280 0.00 0.00 0/14 Game::Game() [544]
281 0.00 0.00 1/14 Game::Game() [55]
282 0.00 0.00 13/14 Game::move(int, int, int, int) [43]
283 [42] 0.0 0.00 0.00 14 MoveHistoryEntry::operator=(MoveHistoryEntry const&) [42]
284 -----------------------------------------------
285 0.00 0.00 0/13 Controller::click(int, int) [53]
286 0.00 0.00 13/13 Game::think() [5]
287 [43] 0.0 0.00 0.00 13 Game::move(int, int, int, int) [43]
288 0.00 0.00 13/14 MoveHistoryEntry::MoveHistoryEntry(Board*, int, int, int, int) [41]
289 0.00 0.00 13/14 MoveHistoryEntry::operator=(MoveHistoryEntry const&) [42]
290 -----------------------------------------------
291 0.00 0.00 1/7 Window::main_loop() [25]
292 0.00 0.00 6/7 Window::control_func(int) [21]
293 [44] 0.0 0.00 0.00 7 Controller::set_minimax_depth(int) [44]
294 -----------------------------------------------
295 0.00 0.00 1/7 Window::main_loop() [25]
296 0.00 0.00 6/7 Window::control_func(int) [21]
297 [45] 0.0 0.00 0.00 7 Game::set_minimax_depth(int) [45]
298 -----------------------------------------------
299 0.00 0.00 1/3 Window::Window(int, char**, Controller*) [58]
300 0.00 0.00 2/3 Window::control_func(int) [21]
301 [46] 0.0 0.00 0.00 3 Controller::set_computer_color(int) [46]
302 -----------------------------------------------
303 0.00 0.00 1/2 Window::control_func(int) [21]
304 0.00 0.00 1/2 Window::main_loop() [25]
305 [47] 0.0 0.00 0.00 2 Controller::stop() [47]
306 0.00 0.00 2/2 Window::enable_all() [49]
307 0.00 0.00 2/20 Window::disable(char const*) [36]
308 -----------------------------------------------
309 0.00 0.00 0/2 Controller::play() [24]
310 0.00 0.00 0/2 Game::Game() [544]
311 0.00 0.00 2/2 Game::Game() [55]
312 [48] 0.0 0.00 0.00 2 MinimaxEnemy::set_weights(double*) [48]
313 -----------------------------------------------
314 0.00 0.00 0/2 Controller::update_all() [18]
315 0.00 0.00 2/2 Controller::stop() [47]
316 [49] 0.0 0.00 0.00 2 Window::enable_all() [49]
317 -----------------------------------------------
318 0.00 0.00 1/1 __do_global_ctors_aux [867]
319 [50] 0.0 0.00 0.00 1 global constructors keyed to dx [50]
320 -----------------------------------------------
321 0.00 0.00 1/1 __do_global_ctors_aux [867]
322 [51] 0.0 0.00 0.00 1 global constructors keyed to maxhNull [51]
323 0.00 0.00 960/975 Board::Board() [32]
324 -----------------------------------------------
325 0.00 0.00 1/1 main [23]
326 [52] 0.0 0.00 0.00 1 Controller::set_window(Window*) [52]
327 -----------------------------------------------
328 0.00 0.00 1/1 MouseFunc(int, int, int, int) [107]
329 [53] 0.0 0.00 0.00 1 Controller::click(int, int) [53]
330 0.00 0.00 0/13 Game::move(int, int, int, int) [43]
331 0.00 0.00 0/0 Game::can_move(int, int) [543]
332 0.00 0.00 0/0 Game::fill_moves(int, int, bool*) [534]
333 -----------------------------------------------
334 0.00 0.00 1/1 main [23]
335 [54] 0.0 0.00 0.00 1 Controller::Controller(Game*, bool) [54]
336 -----------------------------------------------
337 0.00 0.00 1/1 main [23]
338 [55] 0.0 0.00 0.00 1 Game::Game() [55]
339 0.00 0.00 1000/1000 MoveHistoryEntry::MoveHistoryEntry() [31]
340 0.00 0.00 2/2 MinimaxEnemy::set_weights(double*) [48]
341 0.00 0.00 1/975 Board::Board() [32]
342 0.00 0.00 1/1 Board::initial_position() [56]
343 0.00 0.00 1/14 MoveHistoryEntry::MoveHistoryEntry(Board*, int, int, int, int) [41]
344 0.00 0.00 1/14 MoveHistoryEntry::operator=(MoveHistoryEntry const&) [42]
345 -----------------------------------------------
346 0.00 0.00 1/1 Game::Game() [55]
347 [56] 0.0 0.00 0.00 1 Board::initial_position() [56]
348 -----------------------------------------------
349 0.00 0.00 1/1 Controller::play() [24]
350 [57] 0.0 0.00 0.00 1 Window::disable_all() [57]
351 -----------------------------------------------
352 0.00 0.00 1/1 main [23]
353 [58] 0.0 0.00 0.00 1 Window::Window(int, char**, Controller*) [58]
354 0.00 0.00 1/3 Controller::set_computer_color(int) [46]
355 0.00 0.00 0/0 GLUI_Master_Object::create_glui(char const*, long, int, int) [455]
356 0.00 0.00 0/0 GLUI::add_panel(char const*, int) [529]
357 0.00 0.00 0/0 GLUI::add_panel_to_panel(GLUI_Panel*, char const*, int) [507]
358 0.00 0.00 0/0 GLUI::add_button_to_panel(GLUI_Panel*, char const*, int, GLUI_CB) [509]
359 0.00 0.00 0/0 GLUI::add_column_to_panel(GLUI_Panel*, int) [510]
360 0.00 0.00 0/0 GLUI::add_radiogroup_to_panel(GLUI_Panel*, int*, int, GLUI_CB) [520]
361 0.00 0.00 0/0 GLUI::add_radiobutton_to_group(GLUI_RadioGroup*, char const*) [522]
362 0.00 0.00 0/0 GLUI::add_spinner_to_panel(GLUI_Panel*, char const*, int, void*, int, GLUI_CB) [514]
363 0.00 0.00 0/0 GLUI_Spinner::set_int_limits(int, int, int) [272]
364 0.00 0.00 0/0 GLUI::add_statictext_to_panel(GLUI_Panel*, char const*) [521]
365 0.00 0.00 0/0 GLUI::set_main_gfx_window(int) [511]
366 -----------------------------------------------
368 This table describes the call tree of the program, and was sorted by
369 the total amount of time spent in each function and its children.
371 Each entry in this table consists of several lines. The line with the
372 index number at the left hand margin lists the current function.
373 The lines above it list the functions that called this function,
374 and the lines below it list the functions this one called.
376 index A unique number given to each element of the table.
377 Index numbers are sorted numerically.
378 The index number is printed next to every function name so
379 it is easier to look up where the function in the table.
381 % time This is the percentage of the `total' time that was spent
382 in this function and its children. Note that due to
383 different viewpoints, functions excluded by options, etc,
384 these numbers will NOT add up to 100%.
386 self This is the total amount of time spent in this function.
388 children This is the total amount of time propagated into this
389 function by its children.
391 called This is the number of times the function was called.
392 If the function called itself recursively, the number
393 only includes non-recursive calls, and is followed by
394 a `+' and the number of recursive calls.
396 name The name of the current function. The index number is
397 printed after it. If the function is a member of a
398 cycle, the cycle number is printed between the
399 function's name and the index number.
402 For the function's parents, the fields have the following meanings:
404 self This is the amount of time that was propagated directly
405 from the function into this parent.
407 children This is the amount of time that was propagated from
408 the function's children into this parent.
410 called This is the number of times this parent called the
411 function `/' the total number of times the function
412 was called. Recursive calls to the function are not
413 included in the number after the `/'.
415 name This is the name of the parent. The parent's index
416 number is printed after it. If the parent is a
417 member of a cycle, the cycle number is printed between
418 the name and the index number.
420 If the parents of the function cannot be determined, the word
421 `<spontaneous>' is printed in the `name' field, and all the other
424 For the function's children, the fields have the following meanings:
426 self This is the amount of time that was propagated directly
427 from the child into the function.
429 children This is the amount of time that was propagated from the
430 child's children to the function.
432 called This is the number of times the function called
433 this child `/' the total number of times the child
434 was called. Recursive calls by the child are not
435 listed in the number after the `/'.
437 name This is the name of the child. The child's index
438 number is printed after it. If the child is a
439 member of a cycle, the cycle number is printed
440 between the name and the index number.
442 If there are any cycles (circles) in the call graph, there is an
443 entry for the cycle-as-a-whole. This entry shows who called the
444 cycle (as parents) and the members of the cycle (as children.)
445 The `+' recursive calls entry shows the number of function calls that
446 were internal to the cycle, and the calls entry for each member shows,
447 for that member, how many times it was called from other members of
451 Index by function name
453 [50] global constructors keyed to dx [17] GLUI_Control::pack(int, int) [55] Game::Game()
454 [51] global constructors keyed to maxhNull [6] MinimaxEnemy::heuristica(Board&, bool, bool) [56] Board::initial_position()
455 [20] ControlFunc(int) [48] MinimaxEnemy::set_weights(double*) [32] Board::Board()
456 [13] lessHeu(void const*, void const*) [7] MinimaxEnemy::connectedness(Board&, bool, bool) [49] Window::enable_all()
457 [12] moreHeu(void const*, void const*) [11] MinimaxEnemy::centralisation(Board&, bool, bool) [57] Window::disable_all()
458 [52] Controller::set_window(Window*) [3] MinimaxEnemy::move(Board*, int&, int&, int&, int&) [34] Window::draw_circle(int, int, int)
459 [18] Controller::update_all() [8] MinimaxEnemy::quads(Board&, bool, bool) [15] Window::draw_square(int, int, int)
460 [2] Controller::after_display() [9] MinimaxEnemy::centro(Board&, bool, bool) [21] Window::control_func(int)
461 [29] Controller::is_highlighted(int, int) [4] MinimaxEnemy::alphabeta(Board const&, int, double, double, int) [16] Window::render_scene()
462 [44] Controller::set_minimax_depth(int) [41] MoveHistoryEntry::MoveHistoryEntry(Board*, int, int, int, int) [40] Window::enable(char const*)
463 [46] Controller::set_computer_color(int) [31] MoveHistoryEntry::MoveHistoryEntry() [36] Window::disable(char const*)
464 [24] Controller::play() [42] MoveHistoryEntry::operator=(MoveHistoryEntry const&) [39] Window::display()
465 [47] Controller::stop() [37] Game::fill_pieces(bool*, char*) [25] Window::main_loop()
466 [53] Controller::click(int, int) [38] Game::get_last_move(int&, int&, int&, int&) [58] Window::Window(int, char**, Controller*)
467 [33] Controller::piece(int, int) [45] Game::set_minimax_depth(int) [10] Board::win(bool) const
468 [30] Controller::is_empty(int, int) [43] Game::move(int, int, int, int) [14] Board::adjacent(char, char) const
469 [35] Controller::highlight(int, int) [5] Game::think()
470 [54] Controller::Controller(Game*, bool) [19] Game::is_end()