Displaying 1 result from an estimated 1 matches for "sum_of_block_frequencies_in_funct".
2016 Dec 02
4
Computing block profile weights
Hello,
I'm working on an application that would benefit from knowing the weight of
a basic block, as in "fraction of the program's execution time spent in
this block".
Currently, I'm computing this using the block's frequency from
BlockFrequencyInfo, relative to the function's entry block frequency, and
scaled by the function's entry count. This is also the