aboutsummaryrefslogtreecommitdiff
path: root/gcc/profile-count.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2023-07-07 23:06:33 +0200
committerJan Hubicka <jh@suse.cz>2023-07-07 23:06:33 +0200
commit3cce8d98f270f48f480046d439c9d4635641c24e (patch)
treea154616a5dda515d64548274ad2240267d6b962e /gcc/profile-count.h
parentba8d3e566787b40e3a91fd259da19c7b59aa4c0f (diff)
downloadgcc-3cce8d98f270f48f480046d439c9d4635641c24e.zip
gcc-3cce8d98f270f48f480046d439c9d4635641c24e.tar.gz
gcc-3cce8d98f270f48f480046d439c9d4635641c24e.tar.bz2
Dump profile_count along with relative frequency
gcc/ChangeLog: * profile-count.cc (profile_count::dump): Add FUN parameter; print relative frequency. (profile_count::debug): Update. * profile-count.h (profile_count::dump): Update prototype.
Diffstat (limited to 'gcc/profile-count.h')
-rw-r--r--gcc/profile-count.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/profile-count.h b/gcc/profile-count.h
index 4270793..99416d9 100644
--- a/gcc/profile-count.h
+++ b/gcc/profile-count.h
@@ -1281,10 +1281,10 @@ public:
sreal to_sreal_scale (profile_count in, bool *known = NULL) const;
/* Output THIS to F. */
- void dump (FILE *f) const;
+ void dump (FILE *f, struct function *fun = NULL) const;
/* Output THIS to BUFFER. */
- void dump (char *buffer) const;
+ void dump (char *buffer, struct function *fun = NULL) const;
/* Print THIS to stderr. */
void debug () const;