search for: sum_of_block_weights_in_funct

Displaying 1 result from an estimated 1 matches for "sum_of_block_weights_in_funct".

2016 Dec 02
4
Computing block profile weights
...ect a bit of feedback from the community before trying it out. 1) Instead of relying on a function's *entry count*, store the *total number of samples* in a function. This number is readily available from the profile loader. 2) Compute a block's weight as `function_samples * block_weight / sum_of_block_weights_in_function` Why do I like this? - Total samples in a function gives a good impression of the importance of a function, better than the entry count. - This scheme "preserves mass" in that all samples of a function are taken into account. The samples in a BB are compared to samples in the entire...