X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeprofile.h;h=1d26ec1fbfeeba634495646487d0b649901979f6;hb=b9d45e08e23bcf058fa8f2d9e18dd78e8cccd044;hp=408600f789bd991f2e6f33b2be8b4a242e5d5df3;hpb=4b4900ad188b4276f9c35b9b458927bd57b5a79d;p=libfirm diff --git a/ir/be/beprofile.h b/ir/be/beprofile.h index 408600f78..1d26ec1fb 100644 --- a/ir/be/beprofile.h +++ b/ir/be/beprofile.h @@ -13,12 +13,21 @@ #ifndef _BEPROFILE_H_ #define _BEPROFILE_H_ +/** Additional flags for profiling */ +enum profile_flags { + profile_with_locations = 0x0001, /**< create location table */ + profile_default = 0 /**< default settings */ +}; + /** * Instruments irgs with profile code - * @param filename The name of the output file for the profile information + * + * @param filename The name of the output file for the profile information + * @param flags Additional flags + * * @return The irg doing the profile initialization. */ -ir_graph * be_profile_instrument(const char *filename); +ir_graph *be_profile_instrument(const char *filename, unsigned flags); /** * Reads the corresponding profile info file if it exists and returns a