search for: function_samples

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

2016 Dec 02
4
Computing block profile weights
...address this. I'd like to collect 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...