added missing include
[libfirm] / ir / be / bestat.h
1 #ifndef _BESTAT_H_
2 #define _BESTAT_H_
3
4 #include "firm_config.h"
5 #include "be_t.h"
6 #include "benodesets.h"
7
8 #ifdef FIRM_STATISTICS
9
10 /**
11  * Collects statistics information about register pressure.
12  * @param birg The be irg object containing the irg
13  */
14 void be_do_stat_reg_pressure(be_irg_t *birg);
15
16 /**
17  * Collect statistics about amount of ready nodes per block
18  * @param block     The block
19  * @param ready_set A set of ready nodes
20  */
21 void be_do_stat_sched_ready(ir_node *block, nodeset *ready_set);
22
23 #else
24
25 #define be_do_stat_reg_pressure(birg)
26 #define be_do_stat_sched_ready(block, ready_set)
27
28 #endif /* FIRM_STATISTICS */
29
30 #endif /* _BESTAT_H_ */