make statfile available to the whole backend, output timing results to statfile
[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 void be_stat_ev_push(const char **tags, int n_tags, FILE *f);
15 void be_stat_ev_pop(void);
16
17 void be_stat_ev(const char *ev, int value);
18 void be_stat_ev_l(const char *ev, long value);
19 void be_stat_ev_dbl(const char *ev, double value);
20 void be_stat_ev_ull(const char *ev, ulong64 value);
21
22 int be_stat_ev_is_active(void);
23
24 #endif /* _BESTATEVENT_H */