Home
last modified time | relevance | path

Searched refs:worst_sizes (Results 1 – 2 of 2) sorted by relevance

/system/core/logd/
DLogBuffer.cpp761 size_t worst_sizes = 0; in prune() local
771 .findWorst(worst, worst_sizes, second_worst_sizes, in prune()
776 .findWorst(worst, worst_sizes, second_worst_sizes, in prune()
781 .findWorst(worstPid, worst_sizes, second_worst_sizes); in prune()
877 if (worst_sizes < second_worst_sizes) { in prune()
880 worst_sizes -= element->getMsgLen(); in prune()
953 if (worst_sizes < second_worst_sizes) { in prune()
956 worst_sizes -= len; in prune()
DLogStatistics.h642 void findWorst(int& worst, size_t& worst_sizes, size_t& second_worst_sizes,
645 worst_sizes = sorted[0]->getSizes();
646 if ((worst_sizes > threshold)
649 && (worst_sizes > (10 * sorted[0]->getDropped()))) {
659 void findWorst(int& worst, size_t worst_sizes, size_t& second_worst_sizes) {
663 worst_sizes - sorted[0]->getSizes() + sorted[1]->getSizes();