search for: entry_weight

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

2016 Dec 02
4
Computing block profile weights
...ck of the total frequency in a function. - BlockFrequencyInfo would probably scale the frequencies w.r.t. that total, rather then the maximum frequency. This loses a few bits of precision Note that the entry count would not be lost in this scheme; one could easily compute it as `function_samples * entry_weight / sum_of_block_weights_in_function`. I believe using an entire function as unit of reference is a good compromise between precision and modularity. Precision is high because there's a sufficient number of samples available in a function. Modularity is preserved because the computation does not...