GCC Middle and Back End API Reference
profile_record Struct Reference

#include <cfghooks.h>

Data Fields

double time
 
double dyn_mismatched_prob_out
 
double dyn_mismatched_count_in
 
int num_mismatched_prob_out
 
int num_mismatched_count_in
 
int size
 
bool run
 
bool fdo
 

Detailed Description

Hooks for cfg representation specific functions.
   Copyright (C) 2003-2024 Free Software Foundation, Inc.
   Contributed by Sebastian Pop <s.pop@laposte.net>

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.

GCC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.   
Structure to gather statistic about profile consistency, per pass.
An array of this structure, indexed by pass static number, is allocated
in passes.cc.  The structure is defined here so that different CFG modes
can do their book-keeping via CFG hooks.

For every field[2], field[0] is the count before the pass runs, and
field[1] is the post-pass count.  This allows us to monitor the effect
of each individual pass on the profile consistency.

This structure is not supposed to be used by anything other than passes.cc
and one CFG hook per CFG mode.   

Field Documentation

◆ dyn_mismatched_count_in

double profile_record::dyn_mismatched_count_in

◆ dyn_mismatched_prob_out

double profile_record::dyn_mismatched_prob_out

◆ fdo

bool profile_record::fdo

◆ num_mismatched_count_in

int profile_record::num_mismatched_count_in

◆ num_mismatched_prob_out

int profile_record::num_mismatched_prob_out

◆ run

bool profile_record::run

◆ size

int profile_record::size

◆ time

double profile_record::time

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