Searched refs:entropy_sum (Results 1 – 1 of 1) sorted by relevance
1379 u32 entropy_sum = 0; in shannon_entropy() local1387 entropy_sum += p * (sz_base - p_base); in shannon_entropy()1390 entropy_sum /= ws->sample_size; in shannon_entropy()1391 return entropy_sum * 100 / entropy_max; in shannon_entropy()