summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestat.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2012-10-14 22:06:30 +0200
committerMatthias Braun <matze@braunis.de>2012-10-24 14:04:10 +0200
commit6f2df337ba40d5c7461f9459fd57efbcc0686c9b (patch)
tree33bc7ad9d305c87630a03da0b7706b102f77218e /ir/be/bestat.c
parentb4b6a3c36c9226b69d08a0d78415031d63d0f204 (diff)
make statev API public
Diffstat (limited to 'ir/be/bestat.c')
-rw-r--r--ir/be/bestat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ir/be/bestat.c b/ir/be/bestat.c
index 189c1ab..fbc8b64 100644
--- a/ir/be/bestat.c
+++ b/ir/be/bestat.c
@@ -33,8 +33,8 @@
#include "execfreq.h"
#include "firmstat_t.h"
#include "irtools.h"
-#include "statev.h"
#include "error.h"
+#include "statev_t.h"
#include "bearch.h"
#include "beirg.h"
@@ -112,8 +112,8 @@ void be_do_stat_reg_pressure(ir_graph *irg, const arch_register_class_t *cls)
irg_block_walk_graph(irg, stat_reg_pressure_block, NULL, &env);
average_pressure = env.regpressure / env.insn_count;
- stat_ev_emit("bechordal_average_register_pressure", average_pressure);
- stat_ev_emit("bechordal_maximum_register_pressure", env.max_pressure);
+ stat_ev_dbl("bechordal_average_register_pressure", average_pressure);
+ stat_ev_dbl("bechordal_maximum_register_pressure", env.max_pressure);
}