diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-10 17:48:42 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-10 17:48:42 +0000 |
commit | 354edc18e064e835fb28de7eced0e187dbd0bff5 (patch) | |
tree | 0a2c4d505ae69dcc8a94768c93666c9982629e30 /gcc/gcov-io.h | |
parent | dc4c6618f7f0384cfb6e233da0fc94e29f1a5402 (diff) | |
download | gcc-354edc18e064e835fb28de7eced0e187dbd0bff5.tar.gz |
Put back typedef for gcov_working_set_t/gcov_bucket_type
* basic-block.h (gcov_working_set_t): Put back typedef.
* gcov-io.h (gcov_bucket_type): Likewise.
(gcov_working_set_info, gcov_working_set_t): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205866 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcov-io.h')
-rw-r--r-- | gcc/gcov-io.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/gcov-io.h b/gcc/gcov-io.h index 93b2d4d1cde..fb3857d1808 100644 --- a/gcc/gcov-io.h +++ b/gcc/gcov-io.h @@ -401,7 +401,7 @@ typedef unsigned HOST_WIDEST_INT gcov_type_unsigned; /* Structured records. */ /* Structure used for each bucket of the log2 histogram of counter values. */ -struct gcov_bucket_type +typedef struct { /* Number of counters whose profile count falls within the bucket. */ gcov_unsigned_t num_counters; @@ -409,7 +409,7 @@ struct gcov_bucket_type gcov_type min_value; /* Cumulative value of the profile counts in this bucket. */ gcov_type cum_value; -}; +} gcov_bucket_type; /* For a log2 scale histogram with each range split into 4 linear sub-ranges, there will be at most 64 (max gcov_type bit size) - 1 log2 @@ -634,13 +634,13 @@ GCOV_LINKAGE void gcov_write_length (gcov_position_t /*position*/); /* Working set size statistics for a given percentage of the entire profile (sum_all from the counter summary). */ -struct gcov_working_set_t +typedef struct gcov_working_set_info { /* Number of hot counters included in this working set. */ unsigned num_counters; /* Smallest counter included in this working set. */ gcov_type min_counter; -}; +} gcov_working_set_t; GCOV_LINKAGE void compute_working_sets (const struct gcov_ctr_summary *summary, gcov_working_set_t *gcov_working_sets); |