added a few benchmarks/testapps from http://shootout.alioth.debian.org
[libfirm] / ir / be / beprofile.h
index b3fbf18..542601e 100644 (file)
 
 /**
  * Instruments irgs with profile code
+ * @param filename The name of the output file for the profile information
  * @return The irg doing the profile initialization.
  */
-ir_graph * be_profile_instrument(void);
+ir_graph * be_profile_instrument(char * filename);
 
 /**
  * Reads the corresponding profile info file if it exists and returns a
  * profile info struct
+ * @param filename The name of the file containing profile information
  */
 void be_profile_read(char * filename);
 
@@ -35,4 +37,9 @@ void be_profile_free(void);
  */
 unsigned int be_profile_get_block_execcount(const ir_node * block);
 
+/**
+ * Tells whether profile module has acquired data
+ */
+int be_profile_has_data(void);
+
 #endif /* _BEPROFILE_H_ */