bugfix
[libfirm] / ir / be / becopystat.h
1 /**
2  * Author:      Daniel Grund
3  * Date:                11.04.2005
4  * Copyright:   (c) Universitaet Karlsruhe
5  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
6  */
7 #ifndef _BECOPYSTAT_H
8 #define _BECOPYSTAT_H
9
10 #define DO_STAT
11
12 #ifdef DO_STAT
13
14 #include "irgraph.h"
15 #include "bearch.h"
16 #include "bechordal_t.h"
17
18 void copystat_init(void);
19 void copystat_reset(void);
20 void copystat_collect_cls(be_chordal_env_t *chordal_env);
21 void copystat_add_max_costs(int costs);
22 void copystat_add_inevit_costs(int costs);
23 void copystat_add_init_costs(int costs);
24 void copystat_add_heur_costs(int costs);
25 void copystat_add_opt_costs(int costs);
26 void copystat_add_heur_time(int time);
27 void copystat_add_ilp_time(int time);
28 void copystat_add_ilp_vars(int vars);
29 void copystat_add_ilp_csts(int csts);
30 void copystat_add_ilp_iter(int iters);
31 void copystat_dump(ir_graph *irg);
32 void copystat_dump_pretty(ir_graph *irg);
33
34
35 #else /* DO_STAT */
36
37 #define copy_copystat_init();
38 #define copystat_reset();
39 #define copystat_collect_cls(env);
40 #define copystat_add_max_costs(costs);
41 #define copystat_add_inevit_costs(costs);
42 #define copystat_add_init_costs(costs);
43 #define copystat_add_heur_costs(costs);
44 #define copystat_add_opt_costs(costs);
45 #define copystat_add_heur_time(time);
46 #define copystat_add_ilp_time(time);
47 #define copystat_add_ilp_vars(vars);
48 #define copystat_add_ilp_csts(csts);
49 #define copystat_add_ilp_iter(iters);
50 #define copystat_dump(irg);
51 #define copystat_dump(irg);
52 #define copystat_dump_pretty(irg);
53
54 #endif /* DO_STAT */
55
56 #endif /* _BECOPYSTAT_H */