* @param block The block
* @param ready_set A set of ready nodes
*/
-void be_do_stat_sched_ready(ir_node *block, nodeset *ready_set);
+void be_do_stat_sched_ready(ir_node *block, const ir_nodeset_t *ready_set);
/**
* Pass information about a perm to the statistic module.
*/
void be_stat_init_irg(const arch_env_t *arch_env, ir_graph *irg);
-void be_init_stat_file(const char *filename, ir_graph *irg);
+void be_init_stat_file(const char *filename, const char *sourcefilename);
void be_close_stat_file(void);
#else
#endif /* FIRM_STATISTICS */
+/**
+ * Gives a cost estimate for the program (based on execution frequencies)
+ * and backend op_estimated_cost
+ */
+double be_estimate_irg_costs(ir_graph *irg, const arch_env_t *arch_env, ir_exec_freq *execfreqs);
+
#endif /* _BESTAT_H_ */