GCC Middle and Back End API Reference
autofdo::summary_info Struct Reference
Collaboration diagram for autofdo::summary_info:

Data Structures

struct  detailed_summary

Public Member Functions

bool read ()
uint64_t get_threshold_count (uint32_t cutoff)

Data Fields

uint64_t total_count
uint64_t max_count
uint64_t max_function_count
uint64_t num_counts
uint64_t num_functions
detailed_summary detailed_summaries [NUM_PERCENTILES]

Static Public Attributes

static constexpr unsigned NUM_PERCENTILES = 16

Detailed Description

Store the summary information for the profile.   

Member Function Documentation

◆ get_threshold_count()

uint64_t autofdo::summary_info::get_threshold_count ( uint32_t cutoff)
Get the minimum count required for percentile CUTOFF.   

References detailed_summaries, gcc_checking_assert, and NUM_PERCENTILES.

◆ read()

Field Documentation

◆ detailed_summaries

detailed_summary autofdo::summary_info::detailed_summaries[NUM_PERCENTILES]

Referenced by get_threshold_count(), and read().

◆ max_count

uint64_t autofdo::summary_info::max_count

Referenced by read().

◆ max_function_count

uint64_t autofdo::summary_info::max_function_count

Referenced by read().

◆ num_counts

uint64_t autofdo::summary_info::num_counts

Referenced by read().

◆ num_functions

uint64_t autofdo::summary_info::num_functions

Referenced by read().

◆ NUM_PERCENTILES

unsigned autofdo::summary_info::NUM_PERCENTILES = 16
staticconstexpr

Referenced by get_threshold_count(), and read().

◆ total_count

uint64_t autofdo::summary_info::total_count

Referenced by read().


The documentation for this struct was generated from the following file: