X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fphistat.h;h=d700c86df2f39fc77297dfa73e0a60094f068515;hb=321ae93c651a24f17e2b7540e67a959db803c40d;hp=e5010070b5da9a2a724ab0dcf3f6693b1074bf21;hpb=7065f494f6fa46f79432a2d948cd41f88c00c990;p=libfirm diff --git a/ir/be/phistat.h b/ir/be/phistat.h index e5010070b..d700c86df 100644 --- a/ir/be/phistat.h +++ b/ir/be/phistat.h @@ -9,9 +9,30 @@ #include "pset.h" #include "irgraph.h" +/** + * Resets the array holding the data + */ void phi_stat_reset(void); + +/** + * Collect all stat data + */ void phi_stat_collect(ir_graph *irg, pset *all_phi_nodes, pset *all_phi_classes); -void phi_stat_dump(char *filename, char *cum_filename); + +/** + * Dumps the current contents of the internal values to a file. + */ +void phi_stat_dump(char *filename); + +/** + * Updates a cumulative file with the internal values. + */ +void phi_stat_update(char *filename); + +/** + * Dumps the current contents of the values array + * and annotations to a file. + */ void phi_stat_dump_pretty(char *filename); #endif