Added support for SymConst(ofs_ent)
[libfirm] / ir / be / bestatevent.h
1 /**
2  * Statistic events
3  * @date 3.9.2006
4  * @author Sebastian Hack
5  */
6
7 #ifndef _BESTATEVENT_H
8 #define _BESTATEVENT_H
9
10 #include <stdio.h>
11
12 #include "firm_types.h"
13
14 #define BE_STAT_EV_N_INSN                    "n_insn"
15 #define BE_STAT_EV_PHI_BEFORE_SPILL          "phi_before_spill"
16 #define BE_STAT_EV_PHI_AFTER_SPILL           "phi_after_spill"
17
18 void be_stat_ev_push(const char **tags, int n_tags, FILE *f);
19 void be_stat_ev_pop(void);
20
21 void be_stat_ev(const char *ev, int value);
22 void be_stat_ev_dbl(const char *ev, double value);
23 void be_stat_ev_ull(const char *ev, ulong64 value);
24
25 int be_stat_ev_is_active(void);
26
27 #endif /* _BESTATEVENT_H */