This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

-fprofile-arcs


Hi,

I am trying to profile the frequency of each basic block of 
SPEC 2000 benchmarks by compiling them using -fprofile-arcs and opt -O3.
After running the benchmark, when I try to read "bb->count" while 
compiling
using "-fbranch-probabilities and -O3", I get "0" values for basic blocks
which were known to execute for sure. Any clue as to where I am missing?
Is "bb->count" is the right way to get the dynamic frequency in the second 
pass?

regards,
Raj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]