X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbestatevent.h;h=1420a5680e1653ecc000cd6c359f28113e52e15a;hb=fc2759fa267ba4b074c2ac570c1b9d47cc943612;hp=4a62563e88fc0988deee782b8955d3fca586dc7d;hpb=39f3a8dbd0f00f90b7b12a849d1bf7b9c1329479;p=libfirm diff --git a/ir/be/bestatevent.h b/ir/be/bestatevent.h index 4a62563e8..1420a5680 100644 --- a/ir/be/bestatevent.h +++ b/ir/be/bestatevent.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -30,15 +30,12 @@ #include #include "firm_types.h" +#include "statev.h" -void be_stat_ev_push(const char **tags, int n_tags, FILE *f); -void be_stat_ev_pop(void); - -void be_stat_ev(const char *ev, int value); -void be_stat_ev_l(const char *ev, long value); -void be_stat_ev_dbl(const char *ev, double value); -void be_stat_ev_ull(const char *ev, ulong64 value); - -int be_stat_ev_is_active(void); +#define be_stat_ev(name, val) stat_ev_dbl(name, (double)(val)) +#define be_stat_ev_l(name, val) stat_ev_dbl(name, (double)(val)) +#define be_stat_ev_dbl(name, val) stat_ev_dbl(name, (double)(val)) +#define be_stat_ev_ull(name, val) stat_ev_dbl(name, (double)(val)) +#define be_stat_ev_int(name, val) stat_ev_int(name, (int)(val)) #endif /* FIRM_BE_BESTATEVENT_H */